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.0009615/0.0009616, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.271/1.271, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001626/0.001626, allocations: 116.2 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1614/0.1614, allocations: 37.99 MB / 340 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1002, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4542, allocations: 91.33 MB / 0.5355 GB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4545, allocations: 92.33 kB / 0.5356 GB, free: 3.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02023/0.4748, allocations: 7.667 MB / 0.5431 GB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4748, allocations: 0 / 0.5431 GB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/0.4748, allocations: 8 kB / 0.5431 GB, free: 13.21 MB / 362.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.001139/0.476, allocations: 0.67 MB / 0.5437 GB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.476, allocations: 12.02 kB / 0.5437 GB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.4761, allocations: 43.53 kB / 0.5438 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.4777, allocations: 0.7318 MB / 0.5445 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.4777, allocations: 20.69 kB / 0.5445 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.4778, allocations: 25.75 kB / 0.5445 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.4783, allocations: 356.3 kB / 0.5449 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4783, allocations: 7.953 kB / 0.5449 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4783, allocations: 6.25 kB / 0.5449 GB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.4783, allocations: 8 kB / 0.5449 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.4787, allocations: 256.5 kB / 0.5451 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.4802, allocations: 1.429 MB / 0.5465 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.4804, allocations: 165.1 kB / 0.5467 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.4805, allocations: 256 / 0.5467 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4805, allocations: 37.75 kB / 0.5467 GB, free: 9.727 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.4805, allocations: 4 kB / 0.5467 GB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009936/0.4815, allocations: 0.6787 MB / 0.5474 GB, free: 9.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4816, allocations: 77.11 kB / 0.5475 GB, free: 9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4818, allocations: 266.5 kB / 0.5477 GB, free: 8.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4818, allocations: 29.14 kB / 0.5477 GB, free: 8.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4819, allocations: 217.8 kB / 0.548 GB, free: 8.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.482, allocations: 58.39 kB / 0.548 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.482, allocations: 7.375 kB / 0.548 GB, free: 8.512 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4821, allocations: 336.4 kB / 0.5483 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.4822, allocations: 69.25 kB / 0.5484 GB, free: 8.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.4824, allocations: 165.7 kB / 0.5486 GB, free: 7.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.4825, allocations: 87.11 kB / 0.5486 GB, free: 7.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4825, allocations: 0 / 0.5486 GB, free: 7.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003676/0.4829, allocations: 292.2 kB / 0.5489 GB, free: 7.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4829, allocations: 11.98 kB / 0.5489 GB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4829, allocations: 7.938 kB / 0.5489 GB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.483, allocations: 4 kB / 0.5489 GB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.4832, allocations: 55.91 kB / 0.549 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4832, allocations: 4 kB / 0.549 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.4834, allocations: 23.69 kB / 0.549 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4834, allocations: 11.44 kB / 0.549 GB, free: 7.551 MB / 362.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 () * Number of clocked 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 0.0001469/0.4836, allocations: 167.9 kB / 0.5492 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.4836, allocations: 30.48 kB / 0.5492 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.484, allocations: 235 kB / 0.5494 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.484, allocations: 3.953 kB / 0.5495 GB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.484, allocations: 4 kB / 0.5495 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.484, allocations: 0 / 0.5495 GB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.4847, allocations: 0.6172 MB / 0.5501 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4847, allocations: 32 / 0.5501 GB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.4849, allocations: 47.92 kB / 0.5501 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.485, allocations: 0 / 0.5501 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.485, allocations: 11.38 kB / 0.5501 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.485, allocations: 0 / 0.5501 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.485, allocations: 3.938 kB / 0.5501 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.4855, allocations: 461.8 kB / 0.5506 GB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.23e-05/0.4856, allocations: 104.7 kB / 0.5507 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.4856, allocations: 3.5 kB / 0.5507 GB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.4858, allocations: 15.73 kB / 0.5507 GB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.4858, allocations: 7.984 kB / 0.5507 GB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4858, allocations: 4 kB / 0.5507 GB, free: 6.012 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.486, allocations: 211 kB / 0.5509 GB, free: 5.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.486, allocations: 4.062 kB / 0.5509 GB, free: 5.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.4863, allocations: 67.06 kB / 0.551 GB, free: 5.781 MB / 362.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 () * Number of clocked 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.0001187/0.4865, allocations: 106.6 kB / 0.5511 GB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.4868, allocations: 186.4 kB / 0.5512 GB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4868, allocations: 0.875 kB / 0.5512 GB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4869, allocations: 89.45 kB / 0.5513 GB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4873, allocations: 62.48 kB / 0.5514 GB, free: 5.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.4882, allocations: 0.8016 MB / 0.5522 GB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4886, allocations: 0.8164 MB / 0.553 GB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4888, allocations: 54.94 kB / 0.553 GB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.4889, allocations: 27.42 kB / 0.553 GB, free: 3.707 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4889, allocations: 0 / 0.553 GB, free: 3.707 MB / 362.7 MB Notification: Performance of Templates: time 0.005369/0.4942, allocations: 2.729 MB / 0.5557 GB, free: 0.9922 MB / 362.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)