Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001538, allocations: 182.3 kB / 15.76 MB, free: 6.34 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.016/2.016, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.001158/0.001157, allocations: 98.8 kB / 270.2 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2705/0.2705, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004561, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4775/0.5833, allocations: 100.9 MB / 0.5664 GB, free: 15.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.5836, allocations: 99.38 kB / 0.5665 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05554/0.6392, allocations: 12.57 MB / 0.5787 GB, free: 4.156 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.6393, allocations: 0 / 0.5787 GB, free: 4.156 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.953e-05/0.6393, allocations: 15.44 kB / 0.5787 GB, free: 4.145 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001841/0.6412, allocations: 0.7186 MB / 0.5794 GB, free: 3.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.6412, allocations: 12.03 kB / 0.5795 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009003/0.6421, allocations: 91.28 kB / 0.5795 GB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.6455, allocations: 0.8672 MB / 0.5804 GB, free: 2.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.6456, allocations: 32.5 kB / 0.5804 GB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.6457, allocations: 40.06 kB / 0.5805 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.6471, allocations: 0.6299 MB / 0.5811 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.6472, allocations: 0 / 0.5811 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.848e-05/0.6472, allocations: 29.17 kB / 0.5811 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.6473, allocations: 21 kB / 0.5811 GB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6485, allocations: 454.9 kB / 0.5816 GB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.6534, allocations: 2.934 MB / 0.5844 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.6539, allocations: 197.1 kB / 0.5846 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.654, allocations: 4.234 kB / 0.5846 GB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.654, allocations: 38.52 kB / 0.5846 GB, free: 14.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.657e-06/0.654, allocations: 3.938 kB / 0.5847 GB, free: 14.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.002481/0.6565, allocations: 1.047 MB / 0.5857 GB, free: 13.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.6566, allocations: 77.3 kB / 0.5857 GB, free: 13.56 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.6571, allocations: 283 kB / 0.586 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.6571, allocations: 40.62 kB / 0.5861 GB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.6574, allocations: 345.1 kB / 0.5864 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.6575, allocations: 95.16 kB / 0.5865 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/0.6575, allocations: 7.062 kB / 0.5865 GB, free: 12.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6577, allocations: 333.5 kB / 0.5868 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.658, allocations: 142.4 kB / 0.5869 GB, free: 12.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.6586, allocations: 326.9 kB / 0.5873 GB, free: 12.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.6591, allocations: 213.3 kB / 0.5875 GB, free: 11.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6591, allocations: 0 / 0.5875 GB, free: 11.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001642/0.6607, allocations: 0.5677 MB / 0.588 GB, free: 11.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6608, allocations: 8 kB / 0.588 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009496/0.6617, allocations: 323.5 kB / 0.5883 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005352/0.6623, allocations: 80.72 kB / 0.5884 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.6629, allocations: 95.2 kB / 0.5885 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.6652, allocations: 1.624 MB / 0.5901 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.6658, allocations: 22.36 kB / 0.5901 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.817e-05/0.6658, allocations: 19.88 kB / 0.5901 GB, free: 9.496 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * 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.0003881/0.6662, allocations: 213.7 kB / 0.5903 GB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.6663, allocations: 31.62 kB / 0.5904 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009346/0.6673, allocations: 353.9 kB / 0.5907 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.279e-05/0.6673, allocations: 4 kB / 0.5907 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6673, allocations: 3.984 kB / 0.5907 GB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6673, allocations: 7.953 kB / 0.5907 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.6694, allocations: 0.8642 MB / 0.5915 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.6695, allocations: 4 kB / 0.5916 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.6701, allocations: 67.02 kB / 0.5916 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.6701, allocations: 3.953 kB / 0.5916 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.6702, allocations: 7.438 kB / 0.5916 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.6702, allocations: 8 kB / 0.5916 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6702, allocations: 0 / 0.5916 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.6713, allocations: 0.5861 MB / 0.5922 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.6715, allocations: 108.8 kB / 0.5923 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.6715, allocations: 3.375 kB / 0.5923 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003145/0.6719, allocations: 19.34 kB / 0.5923 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.6719, allocations: 22.91 kB / 0.5924 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.672, allocations: 8 kB / 0.5924 GB, free: 7.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003611/0.6724, allocations: 226.2 kB / 0.5926 GB, free: 7.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6724, allocations: 0 / 0.5926 GB, free: 7.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007247/0.6731, allocations: 117.6 kB / 0.5927 GB, free: 7.211 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002326/0.6733, allocations: 120.1 kB / 0.5928 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.6746, allocations: 496.9 kB / 0.5933 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.6746, allocations: 0 / 0.5933 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.675, allocations: 136.1 kB / 0.5934 GB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005525/0.6755, allocations: 60.7 kB / 0.5935 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.6781, allocations: 1.3 MB / 0.5947 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.6787, allocations: 0.8831 MB / 0.5956 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001955/0.679, allocations: 35.44 kB / 0.5956 GB, free: 4.375 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.679, allocations: 0 / 0.5956 GB, free: 4.375 MB / 394.7 MB Notification: Performance of Templates: time 0.01323/0.6922, allocations: 5.671 MB / 0.6012 GB, free: 14.75 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)