Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001674/0.001674, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.418/1.418, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00156/0.00156, allocations: 108.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1608/0.1608, allocations: 37.92 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.18e-05, allocations: 4 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07813, allocations: 53.25 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4036, allocations: 96.41 MB / 0.5274 GB, free: 9.148 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4039, allocations: 87.8 kB / 0.5274 GB, free: 9.137 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03697/0.4409, allocations: 13.59 MB / 0.5407 GB, free: 128 kB / 347.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4409, allocations: 0 / 0.5407 GB, free: 128 kB / 347.1 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.4409, allocations: 16 kB / 0.5407 GB, free: 112 kB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001713/0.4427, allocations: 0.7111 MB / 0.5414 GB, free: 15.38 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4427, allocations: 8.031 kB / 0.5414 GB, free: 15.38 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006062/0.4433, allocations: 95.23 kB / 0.5415 GB, free: 15.28 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.4457, allocations: 0.9288 MB / 0.5424 GB, free: 14.46 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4458, allocations: 20 kB / 0.5424 GB, free: 14.44 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.4459, allocations: 24 kB / 0.5425 GB, free: 14.42 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006644/0.4465, allocations: 423.4 kB / 0.5429 GB, free: 14.13 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.4474, allocations: 0.6174 MB / 0.5435 GB, free: 13.57 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.4474, allocations: 7.938 kB / 0.5435 GB, free: 13.56 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.4475, allocations: 0 / 0.5435 GB, free: 13.56 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.4475, allocations: 40.08 kB / 0.5435 GB, free: 13.53 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.4509, allocations: 2.935 MB / 0.5464 GB, free: 10.78 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/0.4514, allocations: 321.6 kB / 0.5467 GB, free: 10.54 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4517, allocations: 187.3 kB / 0.5469 GB, free: 10.41 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.4517, allocations: 15.78 kB / 0.5469 GB, free: 10.39 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4518, allocations: 42.7 kB / 0.5469 GB, free: 10.34 MB / 363.1 MB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.4518, allocations: 0 / 0.5469 GB, free: 10.34 MB / 363.1 MB Notification: Performance of matching and sorting (n=36): time 0.001723/0.4535, allocations: 1.117 MB / 0.548 GB, free: 9.375 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.4536, allocations: 77.11 kB / 0.5481 GB, free: 9.281 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.4539, allocations: 317 kB / 0.5484 GB, free: 9.027 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.4539, allocations: 29.64 kB / 0.5484 GB, free: 8.992 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4541, allocations: 288.4 kB / 0.5487 GB, free: 8.762 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4542, allocations: 128.5 kB / 0.5488 GB, free: 8.648 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.4543, allocations: 0 / 0.5488 GB, free: 8.648 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4544, allocations: 348.7 kB / 0.5492 GB, free: 8.316 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.4547, allocations: 193 kB / 0.5493 GB, free: 8.184 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/0.4551, allocations: 364.6 kB / 0.5497 GB, free: 7.824 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.4556, allocations: 262.1 kB / 0.5499 GB, free: 7.637 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4556, allocations: 0 / 0.5499 GB, free: 7.637 MB / 363.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001994/0.4576, allocations: 0.7949 MB / 0.5507 GB, free: 6.973 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4576, allocations: 8 kB / 0.5507 GB, free: 6.965 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4577, allocations: 8 kB / 0.5507 GB, free: 6.957 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.4593, allocations: 295.8 kB / 0.551 GB, free: 6.691 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/0.4599, allocations: 142.7 kB / 0.5511 GB, free: 6.555 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.4646, allocations: 3.617 MB / 0.5547 GB, free: 3.082 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003543/0.4649, allocations: 19.98 kB / 0.5547 GB, free: 3.062 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.465, allocations: 27.23 kB / 0.5547 GB, free: 3.039 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.4651, allocations: 112.9 kB / 0.5548 GB, free: 2.922 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.4652, allocations: 39.53 kB / 0.5549 GB, free: 2.883 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000846/0.4661, allocations: 0.5037 MB / 0.5554 GB, free: 2.512 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.4661, allocations: 15.95 kB / 0.5554 GB, free: 2.496 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4661, allocations: 0 / 0.5554 GB, free: 2.496 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4661, allocations: 3.984 kB / 0.5554 GB, free: 2.492 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.4676, allocations: 0.9926 MB / 0.5563 GB, free: 1.652 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4677, allocations: 3.984 kB / 0.5563 GB, free: 1.648 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.4681, allocations: 91.31 kB / 0.5564 GB, free: 1.562 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.4682, allocations: 16 kB / 0.5565 GB, free: 1.547 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/0.4682, allocations: 7.938 kB / 0.5565 GB, free: 1.539 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4682, allocations: 4 kB / 0.5565 GB, free: 1.535 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4682, allocations: 192 / 0.5565 GB, free: 1.535 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4693, allocations: 0.8467 MB / 0.5573 GB, free: 0.8477 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.931e-05/0.4694, allocations: 112.7 kB / 0.5574 GB, free: 0.7188 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.4694, allocations: 11.31 kB / 0.5574 GB, free: 0.7109 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.4697, allocations: 15.97 kB / 0.5574 GB, free: 0.6953 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.4698, allocations: 19.97 kB / 0.5574 GB, free: 0.6758 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.4698, allocations: 11.44 kB / 0.5575 GB, free: 0.668 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.47, allocations: 246.6 kB / 0.5577 GB, free: 484 kB / 363.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4701, allocations: 4 kB / 0.5577 GB, free: 480 kB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.4706, allocations: 123.7 kB / 0.5578 GB, free: 360 kB / 363.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000193/0.4709, allocations: 123.1 kB / 0.5579 GB, free: 224 kB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.4723, allocations: 0.776 MB / 0.5587 GB, free: 15.57 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4723, allocations: 4 kB / 0.5587 GB, free: 15.56 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4726, allocations: 220.9 kB / 0.5589 GB, free: 15.41 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.473, allocations: 67.3 kB / 0.559 GB, free: 15.36 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4749, allocations: 1.033 MB / 0.56 GB, free: 14.38 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.4755, allocations: 0.9129 MB / 0.5609 GB, free: 13.45 MB / 379.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.4759, allocations: 127.3 kB / 0.561 GB, free: 13.33 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.4761, allocations: 42.42 kB / 0.561 GB, free: 13.29 MB / 379.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4761, allocations: 0 / 0.561 GB, free: 13.29 MB / 379.1 MB Notification: Performance of Templates: time 0.01059/0.4867, allocations: 5.604 MB / 0.5665 GB, free: 7.719 MB / 379.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)