Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 88.31 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 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.3243/0.3243, allocations: 29.42 MB / 290.5 MB, free: 2.434 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.717e-05/3.929e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.00753/0.007569, allocations: 4.304 MB / 373.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003434/0.011, allocations: 1.464 MB / 374.7 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000369/0.01137, allocations: 19.81 kB / 374.7 MB, free: 5.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.01262, allocations: 286.6 kB / 375 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01364, allocations: 298.3 kB / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.01464, allocations: 259.1 kB / 375.5 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.01578, allocations: 0.6272 MB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005375/0.01632, allocations: 196 kB / 376.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009036/0.01722, allocations: 366.9 kB / 376.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.01793, allocations: 355.2 kB / 377 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.01804, allocations: 36 kB / 377.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006176/0.01866, allocations: 239.4 kB / 377.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003852/0.01904, allocations: 243.4 kB / 377.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.01943, allocations: 175.6 kB / 377.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.02084, allocations: 0.7088 MB / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.02084, allocations: 0 / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02085, allocations: 4 kB / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.623e-05/0.02088, allocations: 0 / 378.4 MB, free: 1.734 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002488/0.02337, allocations: 0.7017 MB / 379.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.02342, allocations: 15.98 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.02459, allocations: 180.4 kB / 379.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.02561, allocations: 371.9 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/0.02566, allocations: 33.36 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.02583, allocations: 44.73 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.02717, allocations: 0.6955 MB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.0272, allocations: 3.984 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.02726, allocations: 15.98 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002414/0.02751, allocations: 72.89 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.02885, allocations: 0.6635 MB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004405/0.03325, allocations: 2.428 MB / 383.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/0.0338, allocations: 289.3 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.03412, allocations: 193.7 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.03418, allocations: 8 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.03423, allocations: 38.5 kB / 384.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.776e-06/0.03423, allocations: 7.875 kB / 384.2 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002573/0.0368, allocations: 1.241 MB / 385.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.03688, allocations: 89.22 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003643/0.03724, allocations: 284.1 kB / 385.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.03728, allocations: 29.7 kB / 385.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/0.03751, allocations: 260.1 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.03766, allocations: 138.8 kB / 386.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.03782, allocations: 86.14 kB / 386.3 MB, free: 9.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003352/0.03816, allocations: 342.8 kB / 386.6 MB, free: 9.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.03849, allocations: 192.9 kB / 386.8 MB, free: 9.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.03896, allocations: 325.1 kB / 387.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.03983, allocations: 0.5468 MB / 387.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.03983, allocations: 0 / 387.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001506/0.04133, allocations: 0.7094 MB / 388.4 MB, free: 7.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.04136, allocations: 8 kB / 388.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009528/0.04231, allocations: 487.4 kB / 388.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.04293, allocations: 137.8 kB / 389 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.04329, allocations: 75.89 kB / 389.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.04688, allocations: 3.017 MB / 392.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.04722, allocations: 31.97 kB / 392.1 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.04727, allocations: 12 kB / 392.1 MB, free: 3.352 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003837/0.04766, allocations: 209.7 kB / 392.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.04788, allocations: 55.73 kB / 392.4 MB, free: 3.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.04891, allocations: 476.4 kB / 392.8 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.04894, allocations: 12.06 kB / 392.9 MB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.04895, allocations: 4 kB / 392.9 MB, free: 2.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.04896, allocations: 3.984 kB / 392.9 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.05119, allocations: 0.8937 MB / 393.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.0512, allocations: 3.938 kB / 393.8 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.05162, allocations: 63.89 kB / 393.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.05162, allocations: 4 kB / 393.8 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.05166, allocations: 11.98 kB / 393.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.05166, allocations: 64 / 393.8 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.05167, allocations: 8 kB / 393.8 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001517/0.05318, allocations: 0.7591 MB / 394.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.05343, allocations: 67.78 kB / 394.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.05353, allocations: 7.984 kB / 394.7 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.05387, allocations: 11.98 kB / 394.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.05396, allocations: 19.97 kB / 394.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.054, allocations: 12 kB / 394.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003668/0.05437, allocations: 199.1 kB / 394.9 MB, free: 472 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.05437, allocations: 0 / 394.9 MB, free: 472 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006989/0.05507, allocations: 115.9 kB / 395 MB, free: 356 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003186/0.05539, allocations: 143.1 kB / 395.2 MB, free: 204 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.05717, allocations: 0.6796 MB / 395.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.05718, allocations: 4.062 kB / 395.8 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.05769, allocations: 196.7 kB / 396 MB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/0.05853, allocations: 71.03 kB / 396.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.06171, allocations: 1.039 MB / 397.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.06226, allocations: 269.5 kB / 397.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004695/0.06273, allocations: 107.2 kB / 397.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.06289, allocations: 32.5 kB / 397.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.06289, allocations: 0 / 397.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of Templates: time 0.0157/0.07859, allocations: 4.251 MB / 401.8 MB, free: 9.555 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.820538582047448]