Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002122/0.002122, allocations: 182.6 kB / 15.76 MB, free: 6.363 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.027/2.027, 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.001117/0.001116, allocations: 98.73 kB / 270.2 MB, free: 13.29 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.2585/0.2585, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004452/0.0004453, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1071, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4853/0.5924, allocations: 100.1 MB / 0.5655 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5927, allocations: 88.95 kB / 0.5656 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05199/0.6447, allocations: 11.53 MB / 0.5769 GB, free: 5.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6448, allocations: 4 kB / 0.5769 GB, free: 5.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.6448, allocations: 11.94 kB / 0.5769 GB, free: 5.688 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00224/0.6471, allocations: 0.8396 MB / 0.5777 GB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6471, allocations: 11.97 kB / 0.5777 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.6474, allocations: 67.2 kB / 0.5778 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.6525, allocations: 1.221 MB / 0.579 GB, free: 3.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.6525, allocations: 38.78 kB / 0.579 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.6527, allocations: 38.88 kB / 0.579 GB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6539, allocations: 0.5255 MB / 0.5795 GB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.654, allocations: 3.984 kB / 0.5796 GB, free: 3.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.654, allocations: 16.88 kB / 0.5796 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.6541, allocations: 24.94 kB / 0.5796 GB, free: 3.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.6552, allocations: 389.5 kB / 0.58 GB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.6589, allocations: 1.931 MB / 0.5818 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.6598, allocations: 332.6 kB / 0.5822 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.6599, allocations: 4.062 kB / 0.5822 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.6605, allocations: 280.3 kB / 0.5824 GB, free: 0.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.447e-06/0.6605, allocations: 0 / 0.5824 GB, free: 0.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003296/0.6638, allocations: 1.455 MB / 0.5839 GB, free: 15.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6639, allocations: 162.2 kB / 0.584 GB, free: 15.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.6645, allocations: 350.2 kB / 0.5843 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/0.6646, allocations: 32.33 kB / 0.5844 GB, free: 14.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.6649, allocations: 334.7 kB / 0.5847 GB, free: 14.49 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.665, allocations: 116.7 kB / 0.5848 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.6651, allocations: 10.44 kB / 0.5848 GB, free: 14.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6652, allocations: 333.9 kB / 0.5851 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.6656, allocations: 120.2 kB / 0.5853 GB, free: 13.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004728/0.6661, allocations: 287.3 kB / 0.5855 GB, free: 13.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.6666, allocations: 186.5 kB / 0.5857 GB, free: 13.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6666, allocations: 0 / 0.5857 GB, free: 13.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001274/0.6679, allocations: 0.5871 MB / 0.5863 GB, free: 13.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.6679, allocations: 36.52 kB / 0.5863 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.668, allocations: 4 kB / 0.5863 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.6681, allocations: 38.94 kB / 0.5864 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.6689, allocations: 102.4 kB / 0.5864 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.6703, allocations: 1.389 MB / 0.5878 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005438/0.6709, allocations: 38.16 kB / 0.5878 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.671, allocations: 38.66 kB / 0.5879 GB, free: 11.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004539/0.6714, allocations: 246.6 kB / 0.5881 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/0.6715, allocations: 51.62 kB / 0.5882 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.6727, allocations: 0.5436 MB / 0.5887 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.6728, allocations: 4 kB / 0.5887 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6728, allocations: 3.953 kB / 0.5887 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.6728, allocations: 0 / 0.5887 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.6748, allocations: 1.054 MB / 0.5897 GB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.6748, allocations: 3.953 kB / 0.5897 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005383/0.6754, allocations: 59.34 kB / 0.5898 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.6755, allocations: 24.66 kB / 0.5898 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.6756, allocations: 13.86 kB / 0.5898 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.6768, allocations: 1.371 MB / 0.5912 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6768, allocations: 0 / 0.5912 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.6785, allocations: 0.8281 MB / 0.592 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.6788, allocations: 147.3 kB / 0.5921 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/0.6789, allocations: 15.14 kB / 0.5921 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.6793, allocations: 19.61 kB / 0.5922 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.6794, allocations: 23.66 kB / 0.5922 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.6795, allocations: 31.22 kB / 0.5922 GB, free: 7.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004545/0.68, allocations: 263.7 kB / 0.5925 GB, free: 6.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.68, allocations: 0 / 0.5925 GB, free: 6.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000812/0.6808, allocations: 117 kB / 0.5926 GB, free: 6.863 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: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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.0003076/0.6811, allocations: 144.2 kB / 0.5927 GB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.6823, allocations: 0.5139 MB / 0.5932 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6824, allocations: 0 / 0.5932 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.683, allocations: 373.9 kB / 0.5936 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/0.6838, allocations: 97.33 kB / 0.5937 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.6864, allocations: 1.235 MB / 0.5949 GB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006592/0.6871, allocations: 0.8953 MB / 0.5957 GB, free: 3.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.6873, allocations: 39.42 kB / 0.5958 GB, free: 3.746 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6873, allocations: 4 kB / 0.5958 GB, free: 3.742 MB / 394.7 MB Notification: Performance of Templates: time 0.01793/0.7053, allocations: 7.764 MB / 0.6034 GB, free: 12.05 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)