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.001496/0.001496, allocations: 185.3 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.054/2.054, allocations: 205.2 MB / 218.9 MB, free: 9.195 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.001073/0.001073, allocations: 93.02 kB / 267.1 MB, free: 9.273 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.2608/0.2608, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.418e-05, allocations: 4 kB / 416.8 MB, free: 41.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 56.31 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5672, allocations: 94.76 MB / 0.5546 GB, free: 8.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/0.5676, allocations: 87.95 kB / 0.5547 GB, free: 8.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03089/0.5985, allocations: 6.624 MB / 0.5611 GB, free: 2.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5986, allocations: 0 / 0.5611 GB, free: 2.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.5986, allocations: 4 kB / 0.5611 GB, free: 2.203 MB / 394.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.001073/0.5997, allocations: 0.5312 MB / 0.5616 GB, free: 1.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5998, allocations: 8.031 kB / 0.5617 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.5999, allocations: 35.92 kB / 0.5617 GB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003032/0.6029, allocations: 0.7787 MB / 0.5624 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.603, allocations: 16.44 kB / 0.5625 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.6031, allocations: 24 kB / 0.5625 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/0.6038, allocations: 282.8 kB / 0.5628 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.6038, allocations: 3.938 kB / 0.5628 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.6039, allocations: 12 kB / 0.5628 GB, free: 404 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.6039, allocations: 4 kB / 0.5628 GB, free: 400 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.6044, allocations: 172.9 kB / 0.5629 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.6065, allocations: 1.232 MB / 0.5641 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004188/0.6069, allocations: 113.4 kB / 0.5643 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.6071, allocations: 41.78 kB / 0.5643 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6071, allocations: 3.984 kB / 0.5643 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.6072, allocations: 34.56 kB / 0.5643 GB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.837e-06/0.6072, allocations: 4 kB / 0.5643 GB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001188/0.6084, allocations: 462.2 kB / 0.5648 GB, free: 14.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.6085, allocations: 81.11 kB / 0.5648 GB, free: 14.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.6088, allocations: 215.1 kB / 0.5651 GB, free: 13.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.6089, allocations: 29.64 kB / 0.5651 GB, free: 13.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6091, allocations: 258 kB / 0.5653 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.6091, allocations: 35.45 kB / 0.5654 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.6092, allocations: 4 kB / 0.5654 GB, free: 13.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6093, allocations: 326.8 kB / 0.5657 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.6095, allocations: 28 kB / 0.5657 GB, free: 13.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.6098, allocations: 129.7 kB / 0.5658 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.6101, allocations: 59.91 kB / 0.5659 GB, free: 12.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6101, allocations: 0 / 0.5659 GB, free: 12.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007793/0.6109, allocations: 189.2 kB / 0.5661 GB, free: 12.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.6109, allocations: 7.938 kB / 0.5661 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.611, allocations: 4 kB / 0.5661 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.611, allocations: 4.562 kB / 0.5661 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.6115, allocations: 43.92 kB / 0.5661 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.6116, allocations: 7.984 kB / 0.5661 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.6119, allocations: 8.438 kB / 0.5661 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.612, allocations: 20 kB / 0.5662 GB, free: 12.66 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 (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.0001722/0.6122, allocations: 122.7 kB / 0.5663 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6123, allocations: 27.66 kB / 0.5663 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.6129, allocations: 131.4 kB / 0.5664 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.613, allocations: 4 kB / 0.5664 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.613, allocations: 0 / 0.5664 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.613, allocations: 0 / 0.5664 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.6143, allocations: 483.2 kB / 0.5669 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6144, allocations: 0 / 0.5669 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.6147, allocations: 31.92 kB / 0.5669 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.6148, allocations: 0 / 0.5669 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.6148, allocations: 0 / 0.5669 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.6148, allocations: 4 kB / 0.5669 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6149, allocations: 0 / 0.5669 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007863/0.6157, allocations: 296.4 kB / 0.5672 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6158, allocations: 96.8 kB / 0.5673 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.6159, allocations: 11.95 kB / 0.5673 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.6162, allocations: 0 / 0.5673 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.6163, allocations: 11.98 kB / 0.5673 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.6163, allocations: 4 kB / 0.5673 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003694/0.6167, allocations: 175.2 kB / 0.5675 GB, free: 11.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.6168, allocations: 0 / 0.5675 GB, free: 11.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008532/0.6176, allocations: 52 kB / 0.5675 GB, free: 11.11 MB / 410.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.0002106/0.6178, allocations: 103.2 kB / 0.5676 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.6183, allocations: 108.5 kB / 0.5677 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6184, allocations: 192 / 0.5677 GB, free: 10.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.6186, allocations: 52.41 kB / 0.5678 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007857/0.6194, allocations: 48.48 kB / 0.5678 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.6208, allocations: 402.8 kB / 0.5682 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006059/0.6214, allocations: 0.7755 MB / 0.569 GB, free: 9.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.6216, allocations: 27.62 kB / 0.569 GB, free: 9.539 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6216, allocations: 0 / 0.569 GB, free: 9.539 MB / 410.7 MB Notification: Performance of Templates: time 0.01219/0.6338, allocations: 2.875 MB / 0.5718 GB, free: 6.664 MB / 410.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)