Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 119.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001365, allocations: 192.3 kB / 21.35 MB, free: 1.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 247 MB, free: 4.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2772/0.2772, allocations: 38 MB / 337.2 MB, free: 13.36 MB / 270.1 MB " [Timeout remaining time 180] 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.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.78 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0949/0.09675, allocations: 58.08 MB / 0.5133 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006461/0.1033, allocations: 4.922 MB / 0.5181 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003483/0.1068, allocations: 2.485 MB / 0.5205 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.107, allocations: 8 kB / 0.5205 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1082, allocations: 434.1 kB / 0.5209 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009969/0.1092, allocations: 0.5057 MB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.1098, allocations: 279.2 kB / 0.5217 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008058/0.1106, allocations: 0.7475 MB / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.1111, allocations: 329.6 kB / 0.5227 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.1115, allocations: 326.7 kB / 0.523 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.1119, allocations: 318.8 kB / 0.5233 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.912e-05/0.112, allocations: 40 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009449/0.113, allocations: 0.6274 MB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1132, allocations: 199.5 kB / 0.5242 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.1135, allocations: 250.8 kB / 0.5244 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.1144, allocations: 0.7707 MB / 0.5252 GB, free: 13.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1144, allocations: 0 / 0.5252 GB, free: 13.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1145, allocations: 0 / 0.5252 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1145, allocations: 0 / 0.5252 GB, free: 13.47 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001164/0.1156, allocations: 0.7791 MB / 0.5259 GB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1157, allocations: 15.89 kB / 0.526 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.1173, allocations: 208.4 kB / 0.5262 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005177/0.1178, allocations: 374.5 kB / 0.5265 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.1179, allocations: 29.38 kB / 0.5265 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.1179, allocations: 44.36 kB / 0.5266 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.1189, allocations: 0.6306 MB / 0.5272 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.119, allocations: 3.938 kB / 0.5272 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.119, allocations: 16 kB / 0.5272 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-05/0.1191, allocations: 36.98 kB / 0.5273 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.1201, allocations: 0.605 MB / 0.5278 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.1233, allocations: 2.254 MB / 0.53 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.124, allocations: 490.6 kB / 0.5305 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.1244, allocations: 233.7 kB / 0.5307 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1244, allocations: 7.938 kB / 0.5307 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.1245, allocations: 42.5 kB / 0.5308 GB, free: 7.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.653e-06/0.1245, allocations: 0 / 0.5308 GB, free: 7.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003488/0.128, allocations: 1.714 MB / 0.5325 GB, free: 5.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.128, allocations: 85.11 kB / 0.5325 GB, free: 5.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1283, allocations: 282.9 kB / 0.5328 GB, free: 5.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.1284, allocations: 29.7 kB / 0.5328 GB, free: 5.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1286, allocations: 232.6 kB / 0.5331 GB, free: 4.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1287, allocations: 162.6 kB / 0.5332 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1289, allocations: 90.22 kB / 0.5333 GB, free: 4.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.129, allocations: 354.7 kB / 0.5336 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1293, allocations: 177 kB / 0.5338 GB, free: 4.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1297, allocations: 294.3 kB / 0.5341 GB, free: 3.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.1304, allocations: 0.4966 MB / 0.5346 GB, free: 3.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1304, allocations: 4 kB / 0.5346 GB, free: 3.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001206/0.1317, allocations: 0.6812 MB / 0.5352 GB, free: 2.641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1317, allocations: 4 kB / 0.5352 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1317, allocations: 4 kB / 0.5352 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.1323, allocations: 176.7 kB / 0.5354 GB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.1326, allocations: 100.1 kB / 0.5355 GB, free: 2.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.1363, allocations: 2.796 MB / 0.5382 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.1366, allocations: 23.97 kB / 0.5383 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.698e-05/0.1366, allocations: 16 kB / 0.5383 GB, free: 15.39 MB / 414.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 (47): * Single equations (assignments): 46 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.1368, allocations: 193.7 kB / 0.5385 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.372e-05/0.1369, allocations: 43.7 kB / 0.5385 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.1381, allocations: 0.6375 MB / 0.5391 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1381, allocations: 4 kB / 0.5391 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1381, allocations: 4 kB / 0.5391 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1381, allocations: 3.938 kB / 0.5391 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.1403, allocations: 1.348 MB / 0.5405 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.1403, allocations: 4 kB / 0.5405 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.1407, allocations: 79.83 kB / 0.5405 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.1412, allocations: 144.8 kB / 0.5407 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.1412, allocations: 11.98 kB / 0.5407 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003886/0.1451, allocations: 2.576 MB / 0.5432 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1451, allocations: 0 / 0.5432 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.1474, allocations: 0.9623 MB / 0.5441 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1475, allocations: 108.9 kB / 0.5442 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.1476, allocations: 15.94 kB / 0.5443 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.148, allocations: 12.03 kB / 0.5443 GB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.1481, allocations: 31.95 kB / 0.5443 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.1481, allocations: 16 kB / 0.5443 GB, free: 8.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003137/0.1484, allocations: 205.9 kB / 0.5445 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1485, allocations: 0 / 0.5445 GB, free: 8.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001021/0.1495, allocations: 136 kB / 0.5446 GB, free: 8.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.1497, allocations: 107.2 kB / 0.5447 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.1515, allocations: 0.6736 MB / 0.5454 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1515, allocations: 0 / 0.5454 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.1526, allocations: 430.8 kB / 0.5458 GB, free: 7.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.1533, allocations: 64.34 kB / 0.5459 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.1561, allocations: 1.194 MB / 0.547 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.1568, allocations: 0.8707 MB / 0.5479 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.157, allocations: 39.42 kB / 0.5479 GB, free: 5.121 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.157, allocations: 4.188 kB / 0.5479 GB, free: 5.117 MB / 414.1 MB Notification: Performance of Templates: time 0.01481/0.1718, allocations: 6.933 MB / 0.5547 GB, free: 14.18 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.866151627968065] Failed to read output from testmodel.py, exit status != 0: 0.1788117999676615 0.19823871499999995 0.080837403 Calling exit ...