Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007743/0.0007743, allocations: 89.39 kB / 16.32 MB, free: 6.453 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.0008783/0.0008783, allocations: 176.2 kB / 17.21 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2961/0.2961, allocations: 38.05 MB / 309.7 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005211, allocations: 12 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09669, allocations: 56.33 MB / 432.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004363/0.1011, allocations: 3.643 MB / 436.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.1035, allocations: 1.794 MB / 438.3 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.1038, allocations: 11.94 kB / 438.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.104, allocations: 51.62 kB / 438.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008882/0.1049, allocations: 306.8 kB / 438.7 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.1053, allocations: 107.7 kB / 438.8 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006868/0.106, allocations: 0.635 MB / 439.4 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007903/0.1068, allocations: 418.5 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.1071, allocations: 171.2 kB / 440 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.1075, allocations: 223.2 kB / 440.2 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.1075, allocations: 15.98 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.1081, allocations: 239.4 kB / 440.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1082, allocations: 147.6 kB / 440.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1083, allocations: 73.58 kB / 440.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.1089, allocations: 359.2 kB / 441 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1089, allocations: 0 / 441 MB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1089, allocations: 0 / 441 MB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.1089, allocations: 0 / 441 MB, free: 14.49 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008676/0.1098, allocations: 0.5418 MB / 441.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1098, allocations: 15.97 kB / 441.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.111, allocations: 135.5 kB / 441.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.1114, allocations: 286.4 kB / 442 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.1114, allocations: 20.56 kB / 442 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.1115, allocations: 23.98 kB / 442 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006581/0.1121, allocations: 435.6 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1122, allocations: 3.938 kB / 442.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.1122, allocations: 19.94 kB / 442.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.1122, allocations: 24.53 kB / 442.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.1128, allocations: 429.9 kB / 442.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1149, allocations: 1.706 MB / 444.6 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.1154, allocations: 298.6 kB / 444.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.1156, allocations: 142 kB / 445 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.1156, allocations: 8.172 kB / 445.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1156, allocations: 30.81 kB / 445.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1156, allocations: 0 / 445.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001637/0.1173, allocations: 0.7888 MB / 445.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1173, allocations: 85.11 kB / 446 MB, free: 9.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.1175, allocations: 214.8 kB / 446.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1175, allocations: 29.7 kB / 446.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1177, allocations: 184 kB / 446.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1177, allocations: 74.89 kB / 446.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/0.1178, allocations: 12 kB / 446.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1179, allocations: 326.8 kB / 446.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.118, allocations: 104.5 kB / 446.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1182, allocations: 208.9 kB / 447.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.1184, allocations: 137.2 kB / 447.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1184, allocations: 0 / 447.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007423/0.1192, allocations: 437.7 kB / 447.6 MB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1192, allocations: 4 kB / 447.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1192, allocations: 4 kB / 447.6 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003326/0.1196, allocations: 89.14 kB / 447.7 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1198, allocations: 59.89 kB / 447.8 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.1215, allocations: 1.791 MB / 449.6 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.1217, allocations: 19.92 kB / 449.6 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.1217, allocations: 12 kB / 449.6 MB, free: 5.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/0.1219, allocations: 177.8 kB / 449.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.122, allocations: 15.81 kB / 449.8 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.1226, allocations: 379.9 kB / 450.2 MB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.1227, allocations: 7.984 kB / 450.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.1227, allocations: 0 / 450.2 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1227, allocations: 8 kB / 450.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.124, allocations: 0.9216 MB / 451.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.124, allocations: 4 kB / 451.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1241, allocations: 35.97 kB / 451.2 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.1244, allocations: 68.73 kB / 451.2 MB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.1244, allocations: 8 kB / 451.2 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.1259, allocations: 1.713 MB / 452.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1259, allocations: 11.95 kB / 453 MB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.1265, allocations: 462.6 kB / 453.4 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.1266, allocations: 96.86 kB / 453.5 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1266, allocations: 4 kB / 453.5 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.1268, allocations: 11.98 kB / 453.5 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.1268, allocations: 23.97 kB / 453.5 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.1269, allocations: 4 kB / 453.5 MB, free: 1.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.127, allocations: 148.4 kB / 453.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.127, allocations: 0 / 453.7 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1274, allocations: 91.98 kB / 453.8 MB, free: 0.8594 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001108/0.1276, allocations: 107.1 kB / 453.9 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000674/0.1282, allocations: 427 kB / 454.3 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1283, allocations: 0 / 454.3 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.1287, allocations: 274.8 kB / 454.6 MB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.164/0.2927, allocations: 44.72 kB / 454.6 MB, free: 51.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2939, allocations: 0.717 MB / 455.3 MB, free: 50.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.2941, allocations: 0.8073 MB / 456.1 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000135/0.2943, allocations: 46.69 kB / 456.2 MB, free: 50.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.842e-05/0.2943, allocations: 28 kB / 456.2 MB, free: 50.24 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.2943, allocations: 0 / 456.2 MB, free: 50.24 MB / 382.1 MB Notification: Performance of Templates: time 0.004876/0.2992, allocations: 2.707 MB / 458.9 MB, free: 50.16 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: