Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00239/0.00239, allocations: 184.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 91.86 kB / 267.1 MB, free: 9.277 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.279/0.279, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.52e-05, allocations: 3.984 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 56.32 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5669, allocations: 95.78 MB / 0.5556 GB, free: 7.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5673, allocations: 87.95 kB / 0.5557 GB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06038/0.6277, allocations: 12.87 MB / 0.5682 GB, free: 10.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6278, allocations: 0 / 0.5682 GB, free: 10.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.011e-05/0.6278, allocations: 8 kB / 0.5682 GB, free: 10.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001511/0.6293, allocations: 0.6326 MB / 0.5688 GB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.6294, allocations: 8.031 kB / 0.5689 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.6305, allocations: 103.4 kB / 0.569 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003688/0.6342, allocations: 0.8611 MB / 0.5698 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.6343, allocations: 28.77 kB / 0.5698 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.6345, allocations: 39.92 kB / 0.5699 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6356, allocations: 454.3 kB / 0.5703 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.6357, allocations: 0 / 0.5703 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.6358, allocations: 20 kB / 0.5703 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.6358, allocations: 28.67 kB / 0.5703 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009157/0.6368, allocations: 326.9 kB / 0.5707 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.6406, allocations: 1.632 MB / 0.5722 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.6411, allocations: 173 kB / 0.5724 GB, free: 6.324 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.6414, allocations: 121.7 kB / 0.5725 GB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.6415, allocations: 3.984 kB / 0.5725 GB, free: 6.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.6415, allocations: 38.56 kB / 0.5726 GB, free: 6.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.634e-06/0.6416, allocations: 0 / 0.5726 GB, free: 6.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.00195/0.6435, allocations: 0.7031 MB / 0.5733 GB, free: 5.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.6436, allocations: 85.08 kB / 0.5733 GB, free: 5.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.6441, allocations: 270.7 kB / 0.5736 GB, free: 5.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.6442, allocations: 25.7 kB / 0.5736 GB, free: 4.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.6444, allocations: 301.9 kB / 0.5739 GB, free: 4.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6445, allocations: 74.98 kB / 0.574 GB, free: 4.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.6446, allocations: 4 kB / 0.574 GB, free: 4.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6447, allocations: 322.8 kB / 0.5743 GB, free: 4.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.645, allocations: 91.97 kB / 0.5744 GB, free: 4.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000355/0.6454, allocations: 204.4 kB / 0.5746 GB, free: 3.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.6458, allocations: 136.6 kB / 0.5747 GB, free: 3.824 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6458, allocations: 4 kB / 0.5747 GB, free: 3.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00132/0.6471, allocations: 402.6 kB / 0.5751 GB, free: 3.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.6472, allocations: 9.062 kB / 0.5751 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008721/0.6481, allocations: 260.7 kB / 0.5753 GB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005669/0.6486, allocations: 80.78 kB / 0.5754 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/0.6492, allocations: 59.84 kB / 0.5755 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.6516, allocations: 1.589 MB / 0.577 GB, free: 1.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.652, allocations: 19.92 kB / 0.5771 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.6521, allocations: 8 kB / 0.5771 GB, free: 1.258 MB / 410.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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.6523, allocations: 128.9 kB / 0.5772 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.6524, allocations: 35.62 kB / 0.5772 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007568/0.6531, allocations: 258.5 kB / 0.5775 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6532, allocations: 7.984 kB / 0.5775 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6532, allocations: 0 / 0.5775 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.6532, allocations: 4 kB / 0.5775 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.6551, allocations: 0.7575 MB / 0.5782 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6552, allocations: 0 / 0.5782 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000562/0.6558, allocations: 55.81 kB / 0.5783 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.6558, allocations: 0 / 0.5783 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6558, allocations: 11.98 kB / 0.5783 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.6559, allocations: 4 kB / 0.5783 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6559, allocations: 0 / 0.5783 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.6568, allocations: 485.3 kB / 0.5787 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.657, allocations: 104.8 kB / 0.5788 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.6571, allocations: 12 kB / 0.5789 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002912/0.6574, allocations: 11.98 kB / 0.5789 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.6575, allocations: 15.94 kB / 0.5789 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.6575, allocations: 8 kB / 0.5789 GB, free: 15.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003608/0.6579, allocations: 214.2 kB / 0.5791 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6579, allocations: 0 / 0.5791 GB, free: 15.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006369/0.6585, allocations: 96 kB / 0.5792 GB, free: 14.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.0002651/0.6588, allocations: 131.1 kB / 0.5793 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.6599, allocations: 371.3 kB / 0.5797 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6599, allocations: 0 / 0.5797 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.6602, allocations: 103.8 kB / 0.5798 GB, free: 14.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/0.6608, allocations: 65.08 kB / 0.5798 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.6628, allocations: 0.7439 MB / 0.5806 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.6635, allocations: 0.858 MB / 0.5814 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.6637, allocations: 27.44 kB / 0.5814 GB, free: 12.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6637, allocations: 3.938 kB / 0.5814 GB, free: 12.56 MB / 426.7 MB Notification: Performance of Templates: time 0.01344/0.6772, allocations: 5.232 MB / 0.5865 GB, free: 7.332 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)