Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 181.2 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 1.96/1.96, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00112/0.00112, allocations: 102.7 kB / 270.2 MB, free: 13.37 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.26/0.26, allocations: 38.06 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004624, allocations: 8 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5891, allocations: 98.92 MB / 0.5644 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5894, allocations: 94.94 kB / 0.5645 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04808/0.6375, allocations: 10.91 MB / 0.5752 GB, free: 7.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6376, allocations: 4 kB / 0.5752 GB, free: 7.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.223e-05/0.6376, allocations: 15.98 kB / 0.5752 GB, free: 7.363 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001855/0.6395, allocations: 0.7494 MB / 0.5759 GB, free: 6.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6395, allocations: 12.03 kB / 0.5759 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.6397, allocations: 59.3 kB / 0.576 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/0.6447, allocations: 1.203 MB / 0.5772 GB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.654e-05/0.6448, allocations: 30 kB / 0.5772 GB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.6449, allocations: 37.31 kB / 0.5772 GB, free: 5.422 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6461, allocations: 0.4893 MB / 0.5777 GB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.6462, allocations: 3.984 kB / 0.5777 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.6462, allocations: 18.06 kB / 0.5777 GB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.6463, allocations: 21 kB / 0.5777 GB, free: 5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.6472, allocations: 363.7 kB / 0.5781 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.6512, allocations: 2.09 MB / 0.5801 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006466/0.6519, allocations: 243.8 kB / 0.5804 GB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.652, allocations: 8.25 kB / 0.5804 GB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.652, allocations: 34.38 kB / 0.5804 GB, free: 2.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.096e-06/0.652, allocations: 0 / 0.5804 GB, free: 2.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.00216/0.6542, allocations: 0.9447 MB / 0.5813 GB, free: 1.652 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.6543, allocations: 85.23 kB / 0.5814 GB, free: 1.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.6548, allocations: 332.9 kB / 0.5817 GB, free: 1.277 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6549, allocations: 33.52 kB / 0.5818 GB, free: 1.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.6551, allocations: 331.8 kB / 0.5821 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/0.6553, allocations: 85.5 kB / 0.5822 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.6553, allocations: 7.438 kB / 0.5822 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6554, allocations: 330 kB / 0.5825 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.6557, allocations: 90.75 kB / 0.5826 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003954/0.6561, allocations: 275.6 kB / 0.5828 GB, free: 188 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.6564, allocations: 145.9 kB / 0.583 GB, free: 88 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.6565, allocations: 4 kB / 0.583 GB, free: 84 kB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001087/0.6576, allocations: 440.5 kB / 0.5834 GB, free: 15.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6576, allocations: 14.84 kB / 0.5834 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.6576, allocations: 8 kB / 0.5834 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.658, allocations: 62.25 kB / 0.5835 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.6585, allocations: 83.03 kB / 0.5836 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.6607, allocations: 1.61 MB / 0.5851 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.6611, allocations: 22.03 kB / 0.5851 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/0.6612, allocations: 18.88 kB / 0.5852 GB, free: 13.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003591/0.6615, allocations: 206.7 kB / 0.5854 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.6616, allocations: 39.48 kB / 0.5854 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/0.6623, allocations: 345.3 kB / 0.5857 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6624, allocations: 4 kB / 0.5857 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.6624, allocations: 4 kB / 0.5857 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6624, allocations: 0 / 0.5857 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.6639, allocations: 0.7873 MB / 0.5865 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6639, allocations: 0 / 0.5865 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/0.6644, allocations: 43.92 kB / 0.5865 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.6645, allocations: 20.09 kB / 0.5866 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.6645, allocations: 7.5 kB / 0.5866 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.6659, allocations: 1.383 MB / 0.5879 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6659, allocations: 0 / 0.5879 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.667, allocations: 0.559 MB / 0.5885 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.6672, allocations: 119.6 kB / 0.5886 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.6673, allocations: 7.312 kB / 0.5886 GB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.6675, allocations: 7.688 kB / 0.5886 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.6676, allocations: 19.03 kB / 0.5886 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.6676, allocations: 4 kB / 0.5886 GB, free: 10.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004246/0.6681, allocations: 252.4 kB / 0.5889 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6681, allocations: 0 / 0.5889 GB, free: 10.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007598/0.6688, allocations: 104.1 kB / 0.589 GB, free: 10.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (23): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002676/0.6691, allocations: 138.3 kB / 0.5891 GB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.6701, allocations: 395.1 kB / 0.5895 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6701, allocations: 0 / 0.5895 GB, free: 9.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003726/0.6705, allocations: 211.7 kB / 0.5897 GB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.6712, allocations: 92.09 kB / 0.5898 GB, free: 9.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.6734, allocations: 1.081 MB / 0.5908 GB, free: 8.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006231/0.674, allocations: 0.8733 MB / 0.5917 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.6741, allocations: 35.44 kB / 0.5917 GB, free: 7.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6742, allocations: 0 / 0.5917 GB, free: 7.555 MB / 394.7 MB Notification: Performance of Templates: time 0.01642/0.6906, allocations: 6.813 MB / 0.5984 GB, free: 0.8047 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)