Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 181.8 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 82.66 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.258/0.258, allocations: 37.99 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.141e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.5829, allocations: 93.46 MB / 0.5465 GB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5832, allocations: 89.11 kB / 0.5466 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.6074, allocations: 6.091 MB / 0.5526 GB, free: 8.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6075, allocations: 0 / 0.5526 GB, free: 8.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.6075, allocations: 3.969 kB / 0.5526 GB, free: 8.398 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007999/0.6083, allocations: 0.5011 MB / 0.553 GB, free: 7.945 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6084, allocations: 7.75 kB / 0.5531 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.459e-05/0.6085, allocations: 35.14 kB / 0.5531 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/0.6111, allocations: 0.7542 MB / 0.5538 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.6112, allocations: 3.688 kB / 0.5538 GB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.6113, allocations: 15.42 kB / 0.5538 GB, free: 7.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000379/0.6117, allocations: 139.1 kB / 0.554 GB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.6121, allocations: 231.2 kB / 0.5542 GB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.6121, allocations: 3.938 kB / 0.5542 GB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.6121, allocations: 3.984 kB / 0.5542 GB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.6122, allocations: 7.688 kB / 0.5542 GB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.6137, allocations: 1.124 MB / 0.5553 GB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.6139, allocations: 78.83 kB / 0.5554 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.6139, allocations: 20.72 kB / 0.5554 GB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.614, allocations: 3.812 kB / 0.5554 GB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.614, allocations: 34.12 kB / 0.5554 GB, free: 6.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.614, allocations: 3.938 kB / 0.5554 GB, free: 6.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007107/0.6147, allocations: 379.5 kB / 0.5558 GB, free: 5.945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.6148, allocations: 84.55 kB / 0.5559 GB, free: 5.852 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.615, allocations: 190.1 kB / 0.5561 GB, free: 5.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.6151, allocations: 25.7 kB / 0.5561 GB, free: 5.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6152, allocations: 250.7 kB / 0.5563 GB, free: 5.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.6152, allocations: 26.84 kB / 0.5564 GB, free: 5.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.6152, allocations: 3.938 kB / 0.5564 GB, free: 5.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.6153, allocations: 326.4 kB / 0.5567 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.921e-05/0.6154, allocations: 25.66 kB / 0.5567 GB, free: 5.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.6155, allocations: 115.3 kB / 0.5568 GB, free: 5.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.6156, allocations: 44.72 kB / 0.5569 GB, free: 5.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6156, allocations: 0 / 0.5569 GB, free: 5.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002997/0.6159, allocations: 146 kB / 0.557 GB, free: 4.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.6159, allocations: 4.312 kB / 0.557 GB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.616, allocations: 7.844 kB / 0.557 GB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.616, allocations: 3.812 kB / 0.557 GB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.6163, allocations: 42.83 kB / 0.557 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6163, allocations: 3.844 kB / 0.557 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.6165, allocations: 3.906 kB / 0.5571 GB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.6165, allocations: 10.59 kB / 0.5571 GB, free: 4.938 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.853e-05/0.6166, allocations: 120.7 kB / 0.5572 GB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.6167, allocations: 19.41 kB / 0.5572 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.6169, allocations: 93.53 kB / 0.5573 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6169, allocations: 3.938 kB / 0.5573 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6169, allocations: 0 / 0.5573 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.6169, allocations: 0 / 0.5573 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.6174, allocations: 379.9 kB / 0.5577 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6175, allocations: 3.844 kB / 0.5577 GB, free: 4.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.6177, allocations: 15.67 kB / 0.5577 GB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.6177, allocations: 256 / 0.5577 GB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6177, allocations: 7.969 kB / 0.5577 GB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6177, allocations: 4 kB / 0.5577 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6177, allocations: 0 / 0.5577 GB, free: 4.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.618, allocations: 243 kB / 0.5579 GB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.6181, allocations: 96.67 kB / 0.558 GB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.6181, allocations: 3.938 kB / 0.558 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.6183, allocations: 3.938 kB / 0.558 GB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.6183, allocations: 7.938 kB / 0.558 GB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.6183, allocations: 3.812 kB / 0.558 GB, free: 4.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.6185, allocations: 150.9 kB / 0.5582 GB, free: 4.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6185, allocations: 96 / 0.5582 GB, free: 4.016 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.619, allocations: 41.66 kB / 0.5582 GB, free: 4.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0001263/0.6191, allocations: 106.4 kB / 0.5583 GB, free: 3.914 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.6193, allocations: 77.02 kB / 0.5584 GB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6193, allocations: 0 / 0.5584 GB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.6194, allocations: 24.91 kB / 0.5584 GB, free: 3.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.62, allocations: 45.8 kB / 0.5585 GB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.6208, allocations: 360.3 kB / 0.5588 GB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.6211, allocations: 0.7685 MB / 0.5595 GB, free: 2.891 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.6211, allocations: 19.03 kB / 0.5596 GB, free: 2.883 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6212, allocations: 0 / 0.5596 GB, free: 2.883 MB / 362.7 MB Notification: Performance of Templates: time 0.005889/0.6271, allocations: 2.548 MB / 0.5621 GB, free: 1.559 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)