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.001035/0.001036, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.539/1.539, allocations: 194.3 MB / 208.4 MB, free: 6.699 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.001602/0.001602, allocations: 112.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1582/0.1582, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.042e-05/4.044e-05, allocations: 4 kB / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 53.22 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1226/0.3941, allocations: 91.23 MB / 0.5293 GB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.3945, allocations: 87.94 kB / 0.5294 GB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2471/0.6416, allocations: 7.662 MB / 0.5369 GB, free: 87.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6416, allocations: 3.938 kB / 0.5369 GB, free: 87.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.6416, allocations: 10.31 kB / 0.5369 GB, free: 87.95 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.0008911/0.6425, allocations: 0.5796 MB / 0.5374 GB, free: 87.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.6426, allocations: 12.72 kB / 0.5375 GB, free: 87.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.869e-05/0.6427, allocations: 45.94 kB / 0.5375 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/0.6443, allocations: 0.7143 MB / 0.5382 GB, free: 87.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.6444, allocations: 20.09 kB / 0.5382 GB, free: 87.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.6444, allocations: 24.72 kB / 0.5382 GB, free: 87.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.645, allocations: 359.4 kB / 0.5386 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.645, allocations: 5.141 kB / 0.5386 GB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.6451, allocations: 10.81 kB / 0.5386 GB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.6451, allocations: 10.7 kB / 0.5386 GB, free: 86.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.6455, allocations: 254.1 kB / 0.5389 GB, free: 86.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.6471, allocations: 1.432 MB / 0.5403 GB, free: 85.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.6473, allocations: 158.1 kB / 0.5404 GB, free: 85.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.6475, allocations: 83.03 kB / 0.5405 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.6475, allocations: 1.594 kB / 0.5405 GB, free: 85.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.6475, allocations: 32.31 kB / 0.5405 GB, free: 85.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.6475, allocations: 0 / 0.5405 GB, free: 85.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001107/0.6487, allocations: 0.6198 MB / 0.5411 GB, free: 85.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6487, allocations: 83.95 kB / 0.5412 GB, free: 84.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.649, allocations: 261.7 kB / 0.5414 GB, free: 84.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6491, allocations: 26.86 kB / 0.5415 GB, free: 84.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.6492, allocations: 222.6 kB / 0.5417 GB, free: 84.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.6492, allocations: 58.38 kB / 0.5417 GB, free: 84.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.6492, allocations: 5.25 kB / 0.5417 GB, free: 84.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.6493, allocations: 341.2 kB / 0.5421 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.6495, allocations: 61.42 kB / 0.5421 GB, free: 84.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.6496, allocations: 166.9 kB / 0.5423 GB, free: 84.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.6498, allocations: 89.77 kB / 0.5424 GB, free: 84.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6498, allocations: 1.375 kB / 0.5424 GB, free: 84.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004161/0.6502, allocations: 282.3 kB / 0.5426 GB, free: 83.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6503, allocations: 6.531 kB / 0.5427 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6503, allocations: 3.969 kB / 0.5427 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.6503, allocations: 9.656 kB / 0.5427 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.6506, allocations: 59.98 kB / 0.5427 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.6506, allocations: 8 kB / 0.5427 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.6508, allocations: 19.17 kB / 0.5427 GB, free: 83.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.6508, allocations: 9.344 kB / 0.5428 GB, free: 83.91 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 6.691e-05/0.6509, allocations: 127.9 kB / 0.5429 GB, free: 83.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.6509, allocations: 29.45 kB / 0.5429 GB, free: 83.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.6513, allocations: 227.1 kB / 0.5431 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.6514, allocations: 2.906 kB / 0.5431 GB, free: 83.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6514, allocations: 4.438 kB / 0.5431 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.6514, allocations: 0.5 kB / 0.5431 GB, free: 83.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.652, allocations: 0.6148 MB / 0.5437 GB, free: 83.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.652, allocations: 3.953 kB / 0.5437 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.6522, allocations: 37.92 kB / 0.5438 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6522, allocations: 3.125 kB / 0.5438 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.6523, allocations: 12.02 kB / 0.5438 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6523, allocations: 2.938 kB / 0.5438 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6523, allocations: 0 / 0.5438 GB, free: 83.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.6527, allocations: 446.8 kB / 0.5442 GB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.6528, allocations: 110.3 kB / 0.5443 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.6528, allocations: 3.656 kB / 0.5443 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.653, allocations: 11.3 kB / 0.5443 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.653, allocations: 14.55 kB / 0.5443 GB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6531, allocations: 3.531 kB / 0.5444 GB, free: 82.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.6532, allocations: 205.7 kB / 0.5445 GB, free: 82.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6532, allocations: 6.938 kB / 0.5446 GB, free: 82.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003404/0.6536, allocations: 62.27 kB / 0.5446 GB, free: 82.62 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.0001227/0.6537, allocations: 122.5 kB / 0.5447 GB, free: 82.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.654, allocations: 184.2 kB / 0.5449 GB, free: 82.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.654, allocations: 0 / 0.5449 GB, free: 82.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6541, allocations: 87.09 kB / 0.545 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.6545, allocations: 71.3 kB / 0.5451 GB, free: 82.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.6553, allocations: 458 kB / 0.5455 GB, free: 82.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.6556, allocations: 0.8205 MB / 0.5463 GB, free: 81.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000282/0.6559, allocations: 53.2 kB / 0.5463 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.656, allocations: 22.91 kB / 0.5464 GB, free: 81.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.656, allocations: 0 / 0.5464 GB, free: 81.26 MB / 378.7 MB Notification: Performance of Templates: time 0.008473/0.6645, allocations: 2.727 MB / 0.549 GB, free: 79.27 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)