Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002361/0.002367, allocations: 187.2 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 82.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2688/0.2688, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006341/0.000634, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1132, allocations: 56.34 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.0106/0.1239, allocations: 6.443 MB / 485.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.1309, allocations: 2.643 MB / 488.1 MB, free: 8.914 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008661/0.1319, allocations: 39.75 kB / 488.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007833/0.1327, allocations: 190.9 kB / 488.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002341/0.135, allocations: 0.5179 MB / 488.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.1368, allocations: 407.1 kB / 489.3 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.1384, allocations: 0.6328 MB / 489.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.1402, allocations: 0.7062 MB / 490.6 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.1412, allocations: 398.5 kB / 491 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.1425, allocations: 0.5181 MB / 491.5 MB, free: 5.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.1427, allocations: 36 kB / 491.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007272/0.1435, allocations: 163.8 kB / 491.7 MB, free: 5.293 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008476/0.1443, allocations: 454.9 kB / 492.1 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.1447, allocations: 209.1 kB / 492.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.1464, allocations: 0.982 MB / 493.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1465, allocations: 0 / 493.3 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1465, allocations: 3.938 kB / 493.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.1465, allocations: 0 / 493.3 MB, free: 3.648 MB / 330.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.003348/0.1499, allocations: 1.143 MB / 494.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1499, allocations: 12.02 kB / 494.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.1517, allocations: 218.4 kB / 494.7 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.1538, allocations: 0.6541 MB / 495.4 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/0.1539, allocations: 69.92 kB / 495.4 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/0.1543, allocations: 87.98 kB / 495.5 MB, free: 1.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/0.1577, allocations: 1.376 MB / 496.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.215e-05/0.1578, allocations: 7.938 kB / 496.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.1579, allocations: 35.98 kB / 496.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004866/0.1584, allocations: 125.9 kB / 497.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.1619, allocations: 1.077 MB / 498.1 MB, free: 14.65 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01136/0.1733, allocations: 5.942 MB / 0.4923 GB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.1753, allocations: 0.7218 MB / 0.493 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.076e-05/0.1755, allocations: 20.59 kB / 0.493 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001056/0.1765, allocations: 472.5 kB / 0.4934 GB, free: 7.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=65): time 3.286e-06/0.1765, allocations: 0 / 0.4934 GB, free: 7.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.005522/0.1821, allocations: 2.208 MB / 0.4956 GB, free: 4.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.1823, allocations: 166.8 kB / 0.4958 GB, free: 4.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.1834, allocations: 0.6368 MB / 0.4964 GB, free: 3.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/0.1835, allocations: 37.7 kB / 0.4964 GB, free: 3.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005464/0.1841, allocations: 0.5702 MB / 0.497 GB, free: 3.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.1844, allocations: 228.8 kB / 0.4972 GB, free: 3.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.1845, allocations: 24 kB / 0.4972 GB, free: 3.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1847, allocations: 350.8 kB / 0.4975 GB, free: 2.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/0.1856, allocations: 334.4 kB / 0.4979 GB, free: 2.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.1869, allocations: 0.7581 MB / 0.4986 GB, free: 1.469 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.1881, allocations: 0.4995 MB / 0.4991 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.1882, allocations: 4 kB / 0.4991 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004101/0.1923, allocations: 1.396 MB / 0.5005 GB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/0.1924, allocations: 41.66 kB / 0.5005 GB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002502/0.1949, allocations: 0.7743 MB / 0.5013 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.1962, allocations: 261.4 kB / 0.5015 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.1978, allocations: 219.6 kB / 0.5017 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007173/0.205, allocations: 4.13 MB / 0.5057 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.2062, allocations: 55.95 kB / 0.5058 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.2064, allocations: 72.02 kB / 0.5059 GB, free: 9.711 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (119): * Single equations (assignments): 116 * 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: 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.0008238/0.2072, allocations: 399 kB / 0.5062 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.2074, allocations: 86.94 kB / 0.5063 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/0.2096, allocations: 0.8359 MB / 0.5071 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.2096, allocations: 12 kB / 0.5072 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2097, allocations: 4 kB / 0.5072 GB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.2097, allocations: 7.984 kB / 0.5072 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.2141, allocations: 1.752 MB / 0.5089 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.2142, allocations: 0 / 0.5089 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/0.2156, allocations: 163.8 kB / 0.509 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/0.2156, allocations: 4 kB / 0.509 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/0.2157, allocations: 20 kB / 0.5091 GB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.2158, allocations: 7.984 kB / 0.5091 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2158, allocations: 0 / 0.5091 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00302/0.2188, allocations: 1.366 MB / 0.5104 GB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.2193, allocations: 200.1 kB / 0.5106 GB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2195, allocations: 16 kB / 0.5106 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.2201, allocations: 31.97 kB / 0.5106 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.2203, allocations: 48.5 kB / 0.5107 GB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.2205, allocations: 39.95 kB / 0.5107 GB, free: 4.527 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007984/0.2213, allocations: 419 kB / 0.5111 GB, free: 4.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.2213, allocations: 0 / 0.5111 GB, free: 4.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001323/0.2226, allocations: 239.9 kB / 0.5114 GB, free: 3.887 MB / 362.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.2229, allocations: 119.2 kB / 0.5115 GB, free: 3.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00312/0.226, allocations: 1.22 MB / 0.5127 GB, free: 2.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.226, allocations: 5.688 kB / 0.5127 GB, free: 2.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.2271, allocations: 462.4 kB / 0.5131 GB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.2282, allocations: 127.1 kB / 0.5132 GB, free: 1.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2974/0.5256, allocations: 2.428 MB / 0.5156 GB, free: 51.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.5267, allocations: 1.136 MB / 0.5167 GB, free: 51.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.5271, allocations: 67.08 kB / 0.5168 GB, free: 51.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5271, allocations: 0 / 0.5168 GB, free: 51.11 MB / 362.7 MB Notification: Performance of Templates: time 0.03286/0.56, allocations: 13.46 MB / 0.5299 GB, free: 47.02 MB / 362.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)