Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002061/0.00206, allocations: 189 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.01/2.01, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001095/0.001095, allocations: 86.64 kB / 261.8 MB, free: 1.68 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.2865/0.2865, allocations: 38 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.148e-05, allocations: 4 kB / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 56.33 MB / 466.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.495/0.5999, allocations: 109.4 MB / 0.5621 GB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.6003, allocations: 97.86 kB / 0.5622 GB, free: 2.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1402/0.7406, allocations: 29.45 MB / 0.5909 GB, free: 9.352 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.7406, allocations: 0 / 0.5909 GB, free: 9.352 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.983e-05/0.7408, allocations: 24 kB / 0.591 GB, free: 9.328 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003905/0.7447, allocations: 1.106 MB / 0.592 GB, free: 8.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.7447, allocations: 8.031 kB / 0.592 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.7476, allocations: 254.4 kB / 0.5923 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.7538, allocations: 1.43 MB / 0.5937 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.7539, allocations: 31.98 kB / 0.5937 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.7542, allocations: 52 kB / 0.5938 GB, free: 6.656 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002626/0.7568, allocations: 0.8825 MB / 0.5946 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002892/0.7598, allocations: 1.218 MB / 0.5958 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.197e-05/0.7599, allocations: 7.938 kB / 0.5958 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.76, allocations: 4 kB / 0.5958 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/0.7604, allocations: 99.75 kB / 0.5959 GB, free: 4.914 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.7709, allocations: 5.598 MB / 0.6014 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.7727, allocations: 0.7803 MB / 0.6022 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.7735, allocations: 362.4 kB / 0.6025 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.191e-05/0.7736, allocations: 12.56 kB / 0.6025 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.7747, allocations: 0.5015 MB / 0.603 GB, free: 14.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=74): time 3.436e-06/0.7747, allocations: 0 / 0.603 GB, free: 14.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.004901/0.7796, allocations: 1.916 MB / 0.6049 GB, free: 12.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.7798, allocations: 170.7 kB / 0.605 GB, free: 12.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.7807, allocations: 0.5062 MB / 0.6055 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7809, allocations: 29.14 kB / 0.6056 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.7814, allocations: 0.5419 MB / 0.6061 GB, free: 11.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.7817, allocations: 254.7 kB / 0.6063 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.7818, allocations: 0 / 0.6063 GB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.782, allocations: 354 kB / 0.6067 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.7828, allocations: 344.2 kB / 0.607 GB, free: 10.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.784, allocations: 0.7315 MB / 0.6077 GB, free: 10.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.7853, allocations: 0.4939 MB / 0.6082 GB, free: 9.742 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.7853, allocations: 7.953 kB / 0.6082 GB, free: 9.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004041/0.7894, allocations: 1.309 MB / 0.6095 GB, free: 8.676 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.7895, allocations: 33.7 kB / 0.6095 GB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002973/0.7925, allocations: 0.8424 MB / 0.6103 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.7938, allocations: 249.6 kB / 0.6106 GB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.7954, allocations: 223.6 kB / 0.6108 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006668/0.8022, allocations: 3.842 MB / 0.6145 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8035, allocations: 52.06 kB / 0.6146 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.8038, allocations: 59.98 kB / 0.6146 GB, free: 3.285 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003811/0.8042, allocations: 178.4 kB / 0.6148 GB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.8044, allocations: 83 kB / 0.6149 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002656/0.8071, allocations: 0.8782 MB / 0.6157 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-05/0.8072, allocations: 12 kB / 0.6158 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.8072, allocations: 4 kB / 0.6158 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.8072, allocations: 3.984 kB / 0.6158 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.8122, allocations: 1.732 MB / 0.6175 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8122, allocations: 0 / 0.6175 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.8138, allocations: 163.8 kB / 0.6176 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.8138, allocations: 7.984 kB / 0.6176 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.623e-05/0.8139, allocations: 11.95 kB / 0.6176 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.8139, allocations: 12.09 kB / 0.6176 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.8139, allocations: 4 kB / 0.6177 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003319/0.8173, allocations: 1.465 MB / 0.6191 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006532/0.818, allocations: 216.1 kB / 0.6193 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.8182, allocations: 12 kB / 0.6193 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007701/0.8189, allocations: 39.91 kB / 0.6193 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.8191, allocations: 40.5 kB / 0.6194 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.8193, allocations: 39.95 kB / 0.6194 GB, free: 14.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006957/0.82, allocations: 375.1 kB / 0.6198 GB, free: 13.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.82, allocations: 0 / 0.6198 GB, free: 13.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001511/0.8215, allocations: 231.9 kB / 0.62 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 2 * Algorithm blocks: 1 * 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.0004199/0.8219, allocations: 171.7 kB / 0.6202 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/0.825, allocations: 1.22 MB / 0.6213 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.825, allocations: 0 / 0.6213 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.8261, allocations: 0.4937 MB / 0.6218 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.8272, allocations: 107.2 kB / 0.6219 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.8317, allocations: 1.679 MB / 0.6236 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/0.8332, allocations: 1.131 MB / 0.6247 GB, free: 8.711 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/0.8337, allocations: 71.42 kB / 0.6247 GB, free: 8.641 MB / 426.7 MB Notification: Performance of SimCode: time 9.51e-07/0.8337, allocations: 4 kB / 0.6247 GB, free: 8.637 MB / 426.7 MB Notification: Performance of Templates: time 0.03352/0.8672, allocations: 14.01 MB / 0.6384 GB, free: 10.61 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)