Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001531/0.001531, allocations: 184 kB / 8.354 MB, free: 0.7305 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.574/1.574, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 131.9 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1662/0.1662, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.781e-05/1.816e-05, allocations: 4 kB / 390.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2602, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.383, allocations: 90.57 MB / 0.5216 GB, free: 7.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.3833, allocations: 87.95 kB / 0.5217 GB, free: 6.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2664/0.6497, allocations: 7.596 MB / 0.5291 GB, free: 88.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6498, allocations: 0.5312 kB / 0.5291 GB, free: 88.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.6498, allocations: 9.281 kB / 0.5291 GB, free: 88.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001428/0.6513, allocations: 0.5831 MB / 0.5297 GB, free: 88.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.6514, allocations: 9.906 kB / 0.5297 GB, free: 88.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.6516, allocations: 42.34 kB / 0.5298 GB, free: 88.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.6538, allocations: 0.7169 MB / 0.5305 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6539, allocations: 9.531 kB / 0.5305 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.654, allocations: 15.5 kB / 0.5305 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004907/0.6545, allocations: 228.5 kB / 0.5307 GB, free: 88.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.655, allocations: 317.8 kB / 0.531 GB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.6551, allocations: 1.344 kB / 0.531 GB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.6551, allocations: 3.953 kB / 0.531 GB, free: 88.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.6551, allocations: 6.844 kB / 0.531 GB, free: 88.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.6568, allocations: 1.382 MB / 0.5324 GB, free: 87.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.6571, allocations: 156.9 kB / 0.5325 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.6572, allocations: 73.19 kB / 0.5326 GB, free: 87.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.6573, allocations: 2.734 kB / 0.5326 GB, free: 87.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.6573, allocations: 41.72 kB / 0.5326 GB, free: 87.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.345e-06/0.6573, allocations: 0.9688 kB / 0.5326 GB, free: 87.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001044/0.6584, allocations: 0.5893 MB / 0.5332 GB, free: 86.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.6584, allocations: 80.48 kB / 0.5333 GB, free: 86.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.6587, allocations: 253.2 kB / 0.5335 GB, free: 86.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.6587, allocations: 27.3 kB / 0.5336 GB, free: 86.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6589, allocations: 215.5 kB / 0.5338 GB, free: 86.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.6589, allocations: 56.28 kB / 0.5338 GB, free: 86.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.6589, allocations: 4.031 kB / 0.5338 GB, free: 86.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.659, allocations: 337.8 kB / 0.5341 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.6591, allocations: 59.05 kB / 0.5342 GB, free: 85.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.6593, allocations: 158.3 kB / 0.5343 GB, free: 85.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.6594, allocations: 87.8 kB / 0.5344 GB, free: 85.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6594, allocations: 1.125 kB / 0.5344 GB, free: 85.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004257/0.6599, allocations: 251 kB / 0.5347 GB, free: 85.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.6599, allocations: 10.25 kB / 0.5347 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.6599, allocations: 5.062 kB / 0.5347 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.6599, allocations: 10.23 kB / 0.5347 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.6602, allocations: 59.69 kB / 0.5348 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.6602, allocations: 5.344 kB / 0.5348 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.6604, allocations: 8.625 kB / 0.5348 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.6605, allocations: 11.84 kB / 0.5348 GB, free: 85.76 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.6606, allocations: 115.6 kB / 0.5349 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.6606, allocations: 31.5 kB / 0.5349 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.661, allocations: 223.7 kB / 0.5351 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6611, allocations: 2.531 kB / 0.5351 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6611, allocations: 1.875 kB / 0.5351 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.6611, allocations: 4.656 kB / 0.5351 GB, free: 85.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.6619, allocations: 0.5571 MB / 0.5357 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6619, allocations: 1.953 kB / 0.5357 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6621, allocations: 39.44 kB / 0.5357 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.513e-06/0.6621, allocations: 5.156 kB / 0.5357 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.6622, allocations: 1.703 kB / 0.5357 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6622, allocations: 1.562 kB / 0.5357 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6622, allocations: 6.078 kB / 0.5357 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.6628, allocations: 430.5 kB / 0.5362 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.862e-05/0.6629, allocations: 106.5 kB / 0.5363 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.6629, allocations: 6.703 kB / 0.5363 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.6631, allocations: 5.656 kB / 0.5363 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.6632, allocations: 12.98 kB / 0.5363 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.6632, allocations: 5.875 kB / 0.5363 GB, free: 84.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002535/0.6634, allocations: 196.6 kB / 0.5365 GB, free: 84.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6635, allocations: 0 / 0.5365 GB, free: 84.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004676/0.6639, allocations: 59.03 kB / 0.5365 GB, free: 84.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.6641, allocations: 110.3 kB / 0.5366 GB, free: 84.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.6646, allocations: 165.3 kB / 0.5368 GB, free: 84.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6646, allocations: 3.5 kB / 0.5368 GB, free: 84.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.6648, allocations: 79.11 kB / 0.5369 GB, free: 84.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.6652, allocations: 68.05 kB / 0.5369 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.6663, allocations: 468 kB / 0.5374 GB, free: 84.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.6666, allocations: 0.8176 MB / 0.5382 GB, free: 83.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.6669, allocations: 56.64 kB / 0.5382 GB, free: 83.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.6669, allocations: 22.69 kB / 0.5383 GB, free: 83.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.667, allocations: 1.156 kB / 0.5383 GB, free: 83.75 MB / 378.7 MB Notification: Performance of Templates: time 0.006078/0.673, allocations: 2.548 MB / 0.5407 GB, free: 83.56 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)