Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001392/0.001392, allocations: 173.3 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008601/0.0008599, allocations: 98.22 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1759/0.1759, allocations: 38.07 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 56.34 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004407/0.1163, allocations: 3.174 MB / 482.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1184, allocations: 1.444 MB / 483.7 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.1187, allocations: 7.938 kB / 483.7 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.119, allocations: 39.7 kB / 483.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007723/0.1197, allocations: 215.1 kB / 483.9 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.1201, allocations: 91.81 kB / 484 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005694/0.1207, allocations: 434.8 kB / 484.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.1214, allocations: 315.1 kB / 484.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.1217, allocations: 123.4 kB / 484.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.122, allocations: 143.5 kB / 485 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.122, allocations: 8 kB / 485 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.1224, allocations: 163.5 kB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1226, allocations: 103.7 kB / 485.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.1227, allocations: 65.52 kB / 485.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.1231, allocations: 239.5 kB / 485.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1231, allocations: 4 kB / 485.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1231, allocations: 0 / 485.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1231, allocations: 0 / 485.6 MB, free: 11.46 MB / 330.7 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.0007347/0.1239, allocations: 478.6 kB / 486.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1239, allocations: 11.97 kB / 486.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.1248, allocations: 95.56 kB / 486.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1252, allocations: 259.1 kB / 486.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1252, allocations: 12 kB / 486.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.1253, allocations: 20 kB / 486.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.1259, allocations: 314.2 kB / 486.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1259, allocations: 4 kB / 486.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.1259, allocations: 8 kB / 486.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.432e-05/0.126, allocations: 15.98 kB / 486.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.1264, allocations: 291.7 kB / 487.1 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.1281, allocations: 1.297 MB / 488.4 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.1287, allocations: 209.2 kB / 488.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.1288, allocations: 57.75 kB / 488.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.1288, allocations: 4.219 kB / 488.6 MB, free: 8.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.1289, allocations: 34.5 kB / 488.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1289, allocations: 4 kB / 488.7 MB, free: 8.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009517/0.1298, allocations: 430.1 kB / 489.1 MB, free: 7.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1299, allocations: 85.11 kB / 489.2 MB, free: 7.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.1301, allocations: 194.2 kB / 489.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.1301, allocations: 29.7 kB / 489.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1303, allocations: 159.8 kB / 489.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.1303, allocations: 55.42 kB / 489.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.1303, allocations: 4 kB / 489.6 MB, free: 7.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1305, allocations: 326.8 kB / 489.9 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.1306, allocations: 55.95 kB / 490 MB, free: 6.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.1307, allocations: 148.7 kB / 490.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1309, allocations: 83.84 kB / 490.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1309, allocations: 0 / 490.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004731/0.1314, allocations: 262.2 kB / 490.5 MB, free: 6.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1314, allocations: 4 kB / 490.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1314, allocations: 4 kB / 490.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/0.1317, allocations: 40.88 kB / 490.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1318, allocations: 51.92 kB / 490.6 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.1331, allocations: 1.339 MB / 491.9 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.1332, allocations: 7.984 kB / 491.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1332, allocations: 12.16 kB / 491.9 MB, free: 4.617 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1334, allocations: 153.8 kB / 492.1 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.1335, allocations: 19.8 kB / 492.1 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.1339, allocations: 187.9 kB / 492.3 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1339, allocations: 4 kB / 492.3 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1339, allocations: 3.984 kB / 492.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.134, allocations: 3.938 kB / 492.3 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008059/0.1348, allocations: 0.5647 MB / 492.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1348, allocations: 4 kB / 492.9 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.1349, allocations: 19.98 kB / 492.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.135, allocations: 36.92 kB / 492.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.135, allocations: 0 / 492.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/0.1361, allocations: 1.319 MB / 494.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1361, allocations: 4.031 kB / 494.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.1365, allocations: 299.6 kB / 494.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.705e-05/0.1366, allocations: 92.92 kB / 494.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.1367, allocations: 4 kB / 494.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1368, allocations: 7.984 kB / 494.6 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.1368, allocations: 19.88 kB / 494.6 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1369, allocations: 8 kB / 494.7 MB, free: 1.613 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.137, allocations: 148.1 kB / 494.8 MB, free: 1.469 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.137, allocations: 4 kB / 494.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.1374, allocations: 52 kB / 494.9 MB, free: 1.414 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001301/0.1375, allocations: 91.25 kB / 494.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005617/0.1381, allocations: 279.1 kB / 495.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.1381, allocations: 4 kB / 495.2 MB, free: 1.027 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.1383, allocations: 174.8 kB / 495.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1387, allocations: 28.17 kB / 495.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008918/0.1396, allocations: 0.5632 MB / 496 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.1401, allocations: 0.7636 MB / 496.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.1402, allocations: 19.44 kB / 496.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1402, allocations: 0 / 496.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of Templates: time 0.005773/0.1459, allocations: 3.145 MB / 499.9 MB, free: 12.25 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)