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.001438/0.001438, allocations: 186.4 kB / 8.013 MB, free: 1.062 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.12/2.12, allocations: 205.3 MB / 213.7 MB, free: 1.723 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.001078/0.001078, allocations: 94.44 kB / 261.8 MB, free: 1.672 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.2559/0.2559, allocations: 38 MB / 347.7 MB, free: 5.758 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.648e-05, allocations: 4 kB / 409.9 MB, free: 35.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/0.6148, allocations: 94.08 MB / 0.5471 GB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6151, allocations: 88.58 kB / 0.5472 GB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02709/0.6422, allocations: 6.563 MB / 0.5536 GB, free: 8.156 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6422, allocations: 0 / 0.5536 GB, free: 8.156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.769e-05/0.6423, allocations: 7.844 kB / 0.5536 GB, free: 8.152 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000895/0.6432, allocations: 0.5312 MB / 0.5542 GB, free: 7.691 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6432, allocations: 11.44 kB / 0.5542 GB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.6433, allocations: 35.39 kB / 0.5542 GB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/0.6461, allocations: 0.7657 MB / 0.555 GB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.6461, allocations: 8.438 kB / 0.555 GB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.6462, allocations: 15.69 kB / 0.555 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004283/0.6466, allocations: 156.2 kB / 0.5551 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.6471, allocations: 258 kB / 0.5554 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6471, allocations: 0 / 0.5554 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.6472, allocations: 3.844 kB / 0.5554 GB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.6472, allocations: 7.844 kB / 0.5554 GB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.6488, allocations: 1.182 MB / 0.5565 GB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/0.6491, allocations: 99.45 kB / 0.5566 GB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.6492, allocations: 43.61 kB / 0.5567 GB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.6493, allocations: 3.875 kB / 0.5567 GB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.6493, allocations: 34.56 kB / 0.5567 GB, free: 5.977 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.524e-06/0.6493, allocations: 0 / 0.5567 GB, free: 5.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008361/0.6502, allocations: 436.7 kB / 0.5571 GB, free: 5.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6502, allocations: 77.11 kB / 0.5572 GB, free: 5.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.6505, allocations: 201.4 kB / 0.5574 GB, free: 5.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.6505, allocations: 29.73 kB / 0.5574 GB, free: 5.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/0.6506, allocations: 257.6 kB / 0.5577 GB, free: 5.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.6506, allocations: 34.98 kB / 0.5577 GB, free: 5.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6507, allocations: 0 / 0.5577 GB, free: 5.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.631e-05/0.6507, allocations: 326.3 kB / 0.558 GB, free: 4.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.6508, allocations: 26.34 kB / 0.558 GB, free: 4.828 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.651, allocations: 132.2 kB / 0.5582 GB, free: 4.699 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.6511, allocations: 53.69 kB / 0.5582 GB, free: 4.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6511, allocations: 0 / 0.5582 GB, free: 4.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003465/0.6515, allocations: 162.6 kB / 0.5584 GB, free: 4.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6515, allocations: 7.781 kB / 0.5584 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.6515, allocations: 7.812 kB / 0.5584 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.6515, allocations: 3.875 kB / 0.5584 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.6518, allocations: 45.95 kB / 0.5584 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.6519, allocations: 3.812 kB / 0.5584 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.6521, allocations: 3.875 kB / 0.5584 GB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.6521, allocations: 15.7 kB / 0.5585 GB, free: 4.598 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 (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 8.99e-05/0.6522, allocations: 120.2 kB / 0.5586 GB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.6523, allocations: 23.22 kB / 0.5586 GB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003348/0.6526, allocations: 126.7 kB / 0.5587 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6527, allocations: 3.844 kB / 0.5587 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6527, allocations: 0 / 0.5587 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6527, allocations: 0 / 0.5587 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.6533, allocations: 436.2 kB / 0.5591 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6533, allocations: 3.906 kB / 0.5591 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002314/0.6536, allocations: 19.22 kB / 0.5592 GB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.6536, allocations: 7.953 kB / 0.5592 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6536, allocations: 0 / 0.5592 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6536, allocations: 0 / 0.5592 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6536, allocations: 3.938 kB / 0.5592 GB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004236/0.6541, allocations: 289.4 kB / 0.5594 GB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.6542, allocations: 96.78 kB / 0.5595 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.6542, allocations: 0 / 0.5595 GB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6544, allocations: 11.44 kB / 0.5595 GB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.6544, allocations: 11.78 kB / 0.5596 GB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.6545, allocations: 3.844 kB / 0.5596 GB, free: 3.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.6546, allocations: 157.5 kB / 0.5597 GB, free: 3.656 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6546, allocations: 4 kB / 0.5597 GB, free: 3.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.6551, allocations: 46.75 kB / 0.5598 GB, free: 3.648 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 (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.0001255/0.6552, allocations: 106.5 kB / 0.5599 GB, free: 3.547 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.6555, allocations: 94.42 kB / 0.5599 GB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6555, allocations: 0.875 kB / 0.5599 GB, free: 3.535 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.321e-05/0.6556, allocations: 40.84 kB / 0.56 GB, free: 3.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.6562, allocations: 62.03 kB / 0.56 GB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.6571, allocations: 377.8 kB / 0.5604 GB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6573, allocations: 0.7841 MB / 0.5612 GB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.6574, allocations: 18.91 kB / 0.5612 GB, free: 2.496 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6574, allocations: 0 / 0.5612 GB, free: 2.496 MB / 362.7 MB Notification: Performance of Templates: time 0.006316/0.6637, allocations: 2.846 MB / 0.564 GB, free: 15.99 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)