Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 104.7 kB / 16.51 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1815/0.1815, allocations: 38.03 MB / 329.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 64.62 kB / 398.1 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 58.07 MB / 456.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00976/0.1247, allocations: 7.568 MB / 463.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.1304, allocations: 2.785 MB / 466.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008971/0.1313, allocations: 39.75 kB / 466.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.133, allocations: 0.5798 MB / 467.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.1347, allocations: 0.6423 MB / 467.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.1357, allocations: 403.2 kB / 468.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.1381, allocations: 2.297 MB / 470.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006981/0.1388, allocations: 459.2 kB / 470.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007608/0.1395, allocations: 493.8 kB / 471.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.1408, allocations: 0.8374 MB / 472.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1409, allocations: 51.94 kB / 472.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006199/0.1415, allocations: 279.5 kB / 472.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005062/0.142, allocations: 0.4949 MB / 473 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.1426, allocations: 0.4973 MB / 473.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.1438, allocations: 1.285 MB / 474.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1438, allocations: 0 / 474.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1438, allocations: 0 / 474.8 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.1438, allocations: 0 / 474.8 MB, free: 5.781 MB / 350.1 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.002247/0.1461, allocations: 1.326 MB / 476.1 MB, free: 4.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1461, allocations: 12.03 kB / 476.2 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1472, allocations: 199.4 kB / 476.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.1483, allocations: 0.6784 MB / 477 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/0.1483, allocations: 66.36 kB / 477.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.1485, allocations: 96.09 kB / 477.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1505, allocations: 1.384 MB / 478.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.1505, allocations: 11.84 kB / 478.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.1506, allocations: 39.98 kB / 478.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.1508, allocations: 113.9 kB / 478.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.1525, allocations: 1.097 MB / 479.8 MB, free: 0.5664 MB / 350.1 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.007392/0.1599, allocations: 5.961 MB / 485.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.1611, allocations: 0.7056 MB / 486.5 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.1616, allocations: 319.8 kB / 486.8 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-05/0.1617, allocations: 16.55 kB / 486.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/0.1624, allocations: 476.6 kB / 487.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.134e-06/0.1624, allocations: 0 / 487.3 MB, free: 8.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003357/0.1658, allocations: 2.144 MB / 489.4 MB, free: 6.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.1659, allocations: 178.8 kB / 489.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007877/0.1667, allocations: 0.6366 MB / 490.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1668, allocations: 37.7 kB / 490.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.1672, allocations: 0.5289 MB / 490.8 MB, free: 5.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1675, allocations: 224.8 kB / 491 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.1678, allocations: 210.7 kB / 491.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.168, allocations: 386.7 kB / 491.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.1685, allocations: 342.4 kB / 492 MB, free: 3.906 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.1695, allocations: 0.7776 MB / 492.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.1709, allocations: 1.24 MB / 494 MB, free: 1.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.1709, allocations: 7.938 kB / 494 MB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002325/0.1733, allocations: 1.434 MB / 495.4 MB, free: 12 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.833e-05/0.1733, allocations: 45.62 kB / 495.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001369/0.1747, allocations: 0.7866 MB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/0.1754, allocations: 252.7 kB / 496.5 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.1762, allocations: 219.6 kB / 496.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.1805, allocations: 4.025 MB / 0.489 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/0.1812, allocations: 63.75 kB / 0.4891 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/0.1813, allocations: 64.11 kB / 0.4891 GB, free: 10.28 MB / 382.1 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,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006458/0.1819, allocations: 410.9 kB / 0.4895 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.1821, allocations: 71.16 kB / 0.4896 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.1836, allocations: 0.8477 MB / 0.4904 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.1837, allocations: 8 kB / 0.4904 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1837, allocations: 0 / 0.4904 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1837, allocations: 7.922 kB / 0.4904 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.1865, allocations: 1.767 MB / 0.4921 GB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1866, allocations: 3.938 kB / 0.4921 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006947/0.1873, allocations: 152 kB / 0.4923 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.1873, allocations: 4 kB / 0.4923 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.1873, allocations: 19.98 kB / 0.4923 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1874, allocations: 4 kB / 0.4923 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1874, allocations: 3.938 kB / 0.4923 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.1892, allocations: 1.301 MB / 0.4936 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.1895, allocations: 208.1 kB / 0.4938 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/0.1896, allocations: 16 kB / 0.4938 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.19, allocations: 31.97 kB / 0.4938 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.1901, allocations: 48.44 kB / 0.4939 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.1902, allocations: 39.95 kB / 0.4939 GB, free: 5.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004745/0.1907, allocations: 431 kB / 0.4943 GB, free: 4.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1907, allocations: 0 / 0.4943 GB, free: 4.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009273/0.1916, allocations: 228 kB / 0.4946 GB, free: 4.535 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.1918, allocations: 133.3 kB / 0.4947 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1938, allocations: 1.236 MB / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1938, allocations: 0 / 0.4959 GB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.1944, allocations: 468.1 kB / 0.4963 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.1951, allocations: 131.2 kB / 0.4965 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/0.1986, allocations: 2.385 MB / 0.4988 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009467/0.1996, allocations: 1.115 MB / 0.4999 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008313/0.2005, allocations: 294.4 kB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.2006, allocations: 55.42 kB / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2006, allocations: 0 / 0.5002 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Templates: time 0.01847/0.2191, allocations: 8.119 MB / 0.5081 GB, free: 6.547 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)