Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 183.1 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.026/2.026, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001153/0.001153, allocations: 98.81 kB / 270.2 MB, free: 13.35 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.2704/0.2704, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004784, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5067/0.6176, allocations: 94.85 MB / 0.5604 GB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.618, allocations: 90.14 kB / 0.5605 GB, free: 4.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02698/0.645, allocations: 6.636 MB / 0.567 GB, free: 15.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.645, allocations: 0 / 0.567 GB, free: 15.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.555e-05/0.6451, allocations: 15.88 kB / 0.567 GB, free: 15.04 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001281/0.6464, allocations: 0.5675 MB / 0.5676 GB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6464, allocations: 8.031 kB / 0.5676 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.802e-05/0.6465, allocations: 35.92 kB / 0.5676 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/0.6495, allocations: 0.7731 MB / 0.5684 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.6496, allocations: 20.06 kB / 0.5684 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.6497, allocations: 26.27 kB / 0.5684 GB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.6503, allocations: 289.7 kB / 0.5687 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.6504, allocations: 0 / 0.5687 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.6504, allocations: 11.69 kB / 0.5687 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6504, allocations: 4 kB / 0.5687 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.6509, allocations: 181.2 kB / 0.5689 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.6529, allocations: 1.233 MB / 0.5701 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/0.6534, allocations: 96.75 kB / 0.5702 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.6534, allocations: 8.188 kB / 0.5702 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6535, allocations: 37.48 kB / 0.5702 GB, free: 11.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.206e-06/0.6535, allocations: 4 kB / 0.5702 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001181/0.6547, allocations: 483 kB / 0.5707 GB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.6548, allocations: 77.11 kB / 0.5708 GB, free: 11.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.6551, allocations: 217.2 kB / 0.571 GB, free: 11.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6551, allocations: 29.64 kB / 0.571 GB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.6553, allocations: 257.3 kB / 0.5712 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.6554, allocations: 44.97 kB / 0.5713 GB, free: 10.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.6554, allocations: 7.125 kB / 0.5713 GB, free: 10.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.6556, allocations: 321.6 kB / 0.5716 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.6557, allocations: 39.66 kB / 0.5716 GB, free: 10.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.6559, allocations: 128.2 kB / 0.5718 GB, free: 10.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6561, allocations: 54.25 kB / 0.5718 GB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6561, allocations: 0 / 0.5718 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004932/0.6566, allocations: 196.6 kB / 0.572 GB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.6566, allocations: 10.75 kB / 0.572 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6566, allocations: 4 kB / 0.572 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6567, allocations: 4 kB / 0.572 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.657, allocations: 51.91 kB / 0.5721 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.657, allocations: 4 kB / 0.5721 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.6572, allocations: 7.188 kB / 0.5721 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.6573, allocations: 15.44 kB / 0.5721 GB, free: 10.11 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0002317/0.6575, allocations: 162.1 kB / 0.5722 GB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/0.6576, allocations: 27.7 kB / 0.5723 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003673/0.658, allocations: 128.2 kB / 0.5724 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.658, allocations: 4 kB / 0.5724 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.658, allocations: 0 / 0.5724 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.658, allocations: 0 / 0.5724 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008273/0.6589, allocations: 480.9 kB / 0.5729 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6589, allocations: 0 / 0.5729 GB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.6591, allocations: 30.2 kB / 0.5729 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.6592, allocations: 4 kB / 0.5729 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.6592, allocations: 0 / 0.5729 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.772e-06/0.6592, allocations: 4 kB / 0.5729 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6592, allocations: 0 / 0.5729 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.6597, allocations: 301.7 kB / 0.5732 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.949e-05/0.6598, allocations: 96.8 kB / 0.5733 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.6599, allocations: 11.3 kB / 0.5733 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6601, allocations: 4.047 kB / 0.5733 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.6601, allocations: 10.56 kB / 0.5733 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.6602, allocations: 4 kB / 0.5733 GB, free: 8.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.6604, allocations: 176 kB / 0.5735 GB, free: 8.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6604, allocations: 0 / 0.5735 GB, free: 8.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005656/0.661, allocations: 57.38 kB / 0.5735 GB, free: 8.711 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0001742/0.6612, allocations: 103.2 kB / 0.5736 GB, free: 8.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.6615, allocations: 108.3 kB / 0.5737 GB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6616, allocations: 4 kB / 0.5737 GB, free: 8.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.6617, allocations: 47.84 kB / 0.5738 GB, free: 8.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005739/0.6623, allocations: 55.66 kB / 0.5738 GB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.6637, allocations: 0.7099 MB / 0.5745 GB, free: 7.719 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.6642, allocations: 0.7804 MB / 0.5753 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.6643, allocations: 19.44 kB / 0.5753 GB, free: 6.902 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6644, allocations: 0 / 0.5753 GB, free: 6.902 MB / 378.7 MB Notification: Performance of Templates: time 0.007729/0.6721, allocations: 2.878 MB / 0.5781 GB, free: 4.055 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)