Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001734/0.001734, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.359/1.359, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1859/0.1859, allocations: 38.03 MB / 330.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 58.72 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1169, allocations: 58.07 MB / 457.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005984/0.123, allocations: 3.43 MB / 461 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1254, allocations: 1.446 MB / 462.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002177/0.1256, allocations: 7.938 kB / 462.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009195/0.1266, allocations: 258.9 kB / 462.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007679/0.1274, allocations: 275 kB / 462.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1278, allocations: 107.7 kB / 463 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.1283, allocations: 347 kB / 463.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.1287, allocations: 133.9 kB / 463.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.129, allocations: 143.4 kB / 463.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.1293, allocations: 151.4 kB / 463.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1294, allocations: 12 kB / 463.8 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.13, allocations: 315.2 kB / 464.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1301, allocations: 99.75 kB / 464.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.1303, allocations: 103.5 kB / 464.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.1309, allocations: 343 kB / 464.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1309, allocations: 0 / 464.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1309, allocations: 0 / 464.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1309, allocations: 0 / 464.6 MB, free: 0.8828 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008569/0.1318, allocations: 0.5026 MB / 465.2 MB, free: 340 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1318, allocations: 15.89 kB / 465.2 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.1328, allocations: 92.55 kB / 465.3 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1332, allocations: 262.6 kB / 465.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.1333, allocations: 20.31 kB / 465.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1333, allocations: 24.06 kB / 465.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.1339, allocations: 306.4 kB / 465.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1339, allocations: 4 kB / 465.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.1339, allocations: 11.98 kB / 465.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.134, allocations: 19.92 kB / 465.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.1345, allocations: 283.8 kB / 466.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1364, allocations: 1.301 MB / 467.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006012/0.137, allocations: 209.2 kB / 467.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.1371, allocations: 57.75 kB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.1372, allocations: 3.938 kB / 467.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.1372, allocations: 38.78 kB / 467.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.517e-06/0.1372, allocations: 3.938 kB / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001037/0.1383, allocations: 430.1 kB / 468.2 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1383, allocations: 81.11 kB / 468.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1385, allocations: 198.5 kB / 468.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1386, allocations: 33.64 kB / 468.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1387, allocations: 155.8 kB / 468.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.1387, allocations: 55.28 kB / 468.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1388, allocations: 45.61 kB / 468.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.139, allocations: 334.8 kB / 469.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.1391, allocations: 51.97 kB / 469.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.1392, allocations: 153.6 kB / 469.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.1395, allocations: 236.6 kB / 469.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1395, allocations: 0 / 469.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004763/0.14, allocations: 258 kB / 469.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.14, allocations: 4 kB / 469.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1401, allocations: 4 kB / 469.8 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/0.1403, allocations: 44.77 kB / 469.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1405, allocations: 44.34 kB / 469.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.1418, allocations: 1.445 MB / 471.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.142, allocations: 8 kB / 471.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.142, allocations: 8.062 kB / 471.3 MB, free: 9.637 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.1422, allocations: 157.8 kB / 471.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.1423, allocations: 23.75 kB / 471.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.1427, allocations: 192 kB / 471.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1427, allocations: 0 / 471.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1427, allocations: 3.938 kB / 471.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1427, allocations: 4 kB / 471.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.1435, allocations: 0.5639 MB / 472.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1436, allocations: 0 / 472.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.1437, allocations: 27.92 kB / 472.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.1438, allocations: 28.83 kB / 472.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.1438, allocations: 11.94 kB / 472.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.145, allocations: 1.422 MB / 473.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.145, allocations: 0 / 473.7 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.1454, allocations: 291.6 kB / 474 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1455, allocations: 104.9 kB / 474.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.1455, allocations: 0 / 474.1 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1456, allocations: 8 kB / 474.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1456, allocations: 15.86 kB / 474.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1457, allocations: 4 kB / 474.2 MB, free: 6.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1458, allocations: 148.3 kB / 474.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 0 / 474.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1461, allocations: 48 kB / 474.4 MB, free: 6.332 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.1463, allocations: 112 kB / 474.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004951/0.1468, allocations: 266.5 kB / 474.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1468, allocations: 0.875 kB / 474.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.1471, allocations: 182.7 kB / 474.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1475, allocations: 31.59 kB / 474.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009337/0.1484, allocations: 492.8 kB / 475.4 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.1488, allocations: 0.7593 MB / 476.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.1489, allocations: 27.36 kB / 476.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1489, allocations: 0 / 476.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of Templates: time 0.00561/0.1545, allocations: 3.153 MB / 479.4 MB, free: 1.223 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)