Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1796/0.1796, allocations: 38.02 MB / 329.7 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.38 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1023, allocations: 58.06 MB / 456.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003294/0.1056, allocations: 2.046 MB / 458.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007793/0.1065, allocations: 0.526 MB / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.1065, allocations: 0 / 459.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.1067, allocations: 7.922 kB / 459.4 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.266e-05/0.1068, allocations: 27.84 kB / 459.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.1071, allocations: 67.84 kB / 459.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1073, allocations: 63.7 kB / 459.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1073, allocations: 4 kB / 459.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.1074, allocations: 31.84 kB / 459.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.553e-05/0.1075, allocations: 23.91 kB / 459.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1075, allocations: 0 / 459.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1077, allocations: 83.81 kB / 459.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1077, allocations: 43.84 kB / 459.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.1078, allocations: 43.56 kB / 459.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.108, allocations: 143.8 kB / 460 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.108, allocations: 0 / 460 MB, free: 4.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.108, allocations: 4 kB / 460 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1081, allocations: 7.938 kB / 460 MB, free: 4.938 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004583/0.1085, allocations: 480.5 kB / 460.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1086, allocations: 15.89 kB / 460.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1086, allocations: 12.75 kB / 460.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1088, allocations: 202.8 kB / 460.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1088, allocations: 3.938 kB / 460.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1089, allocations: 3.938 kB / 460.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.109, allocations: 134.6 kB / 460.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1091, allocations: 0 / 460.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1091, allocations: 0 / 460.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1091, allocations: 0 / 460.8 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.1092, allocations: 96.3 kB / 460.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.1094, allocations: 202 kB / 461.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1095, allocations: 146.9 kB / 461.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1097, allocations: 145.1 kB / 461.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.1097, allocations: 4 kB / 461.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1097, allocations: 34.56 kB / 461.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.052e-06/0.1097, allocations: 0 / 461.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005524/0.1103, allocations: 471.6 kB / 461.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.1104, allocations: 109.1 kB / 462 MB, free: 2.727 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1105, allocations: 146.4 kB / 462.1 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.1105, allocations: 25.7 kB / 462.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.189e-05/0.1106, allocations: 96.8 kB / 462.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.1107, allocations: 142 kB / 462.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.1107, allocations: 29.7 kB / 462.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1109, allocations: 338.8 kB / 462.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/0.111, allocations: 91.91 kB / 462.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.71e-05/0.1111, allocations: 96.94 kB / 462.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1113, allocations: 364.4 kB / 463.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1114, allocations: 0 / 463.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003194/0.1117, allocations: 319.1 kB / 463.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.1118, allocations: 85.62 kB / 463.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1118, allocations: 4 kB / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1118, allocations: 0 / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1118, allocations: 0 / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1118, allocations: 0 / 463.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1119, allocations: 23.75 kB / 463.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.1119, allocations: 12 kB / 463.7 MB, free: 0.9102 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.1121, allocations: 243.2 kB / 464 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1121, allocations: 19.81 kB / 464 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.1122, allocations: 13.95 kB / 464 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1122, allocations: 4 kB / 464 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.1122, allocations: 3.938 kB / 464 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1122, allocations: 0 / 464 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1123, allocations: 233.2 kB / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1123, allocations: 0 / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.1123, allocations: 0 / 464.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1124, allocations: 4 kB / 464.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1124, allocations: 4 kB / 464.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1124, allocations: 0 / 464.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1124, allocations: 3.984 kB / 464.2 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.1133, allocations: 0.9004 MB / 465.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.1133, allocations: 104.7 kB / 465.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1134, allocations: 4 kB / 465.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.1134, allocations: 8 kB / 465.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/0.1134, allocations: 4 kB / 465.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.006e-05/0.1135, allocations: 11.94 kB / 465.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.441e-05/0.1136, allocations: 122.4 kB / 465.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 465.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1139, allocations: 68.03 kB / 465.4 MB, free: 15.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.1141, allocations: 115.2 kB / 465.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.1154, allocations: 1.585 MB / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1154, allocations: 0 / 467.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.1164, allocations: 1.362 MB / 468.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.1166, allocations: 30.84 kB / 468.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.1175, allocations: 0.6258 MB / 469.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.1178, allocations: 0.7517 MB / 469.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.973e-05/0.1179, allocations: 256 / 469.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.1179, allocations: 7.438 kB / 469.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1179, allocations: 0 / 469.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Templates: time 0.005796/0.1237, allocations: 2.653 MB / 472.6 MB, free: 7.875 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)