Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.8 kB / 17.74 MB, free: 5.316 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.001191/0.001191, allocations: 189.6 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1822/0.1822, allocations: 37.98 MB / 309.9 MB, free: 5.934 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 71.89 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.0979, allocations: 55.25 MB / 487.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01047/0.1084, allocations: 9.074 MB / 496.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.1148, allocations: 3.416 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009202/0.1158, allocations: 35.81 kB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.1188, allocations: 1.038 MB / 0.4896 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.1219, allocations: 1.097 MB / 0.4907 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.1239, allocations: 0.6899 MB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00308/0.127, allocations: 2.386 MB / 0.4937 GB, free: 6.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.1283, allocations: 0.819 MB / 0.4945 GB, free: 5.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1302, allocations: 1.008 MB / 0.4955 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.1324, allocations: 1.332 MB / 0.4968 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.1328, allocations: 136 kB / 0.4969 GB, free: 3.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1342, allocations: 0.5773 MB / 0.4975 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1354, allocations: 0.9314 MB / 0.4984 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.1371, allocations: 0.8902 MB / 0.4992 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.1406, allocations: 2.344 MB / 0.5015 GB, free: 14.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1406, allocations: 7.844 kB / 0.5015 GB, free: 14.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1406, allocations: 0 / 0.5015 GB, free: 14.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001042/0.1407, allocations: 0 / 0.5015 GB, free: 14.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.004763/0.1455, allocations: 2.011 MB / 0.5035 GB, free: 12.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1456, allocations: 11.89 kB / 0.5035 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.1477, allocations: 354.3 kB / 0.5038 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.15, allocations: 1.079 MB / 0.5049 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.1501, allocations: 107.1 kB / 0.505 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.1506, allocations: 172 kB / 0.5052 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.1546, allocations: 2.324 MB / 0.5074 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.396e-05/0.1547, allocations: 11.94 kB / 0.5074 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.1549, allocations: 59.97 kB / 0.5075 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005308/0.1554, allocations: 222.7 kB / 0.5077 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.1586, allocations: 1.854 MB / 0.5095 GB, free: 5.957 MB / 398.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.01178/0.1704, allocations: 9.512 MB / 0.5188 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.1727, allocations: 1.544 MB / 0.5203 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009246/0.1736, allocations: 0.6059 MB / 0.5209 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.2e-05/0.1737, allocations: 20.97 kB / 0.5209 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/0.175, allocations: 0.8606 MB / 0.5218 GB, free: 8.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.017e-06/0.175, allocations: 0 / 0.5218 GB, free: 8.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=131): time 0.006169/0.1812, allocations: 4.007 MB / 0.5257 GB, free: 4.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.1813, allocations: 282.3 kB / 0.526 GB, free: 4.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.1825, allocations: 0.9224 MB / 0.5269 GB, free: 3.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.1826, allocations: 45.7 kB / 0.5269 GB, free: 3.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/0.1832, allocations: 0.7708 MB / 0.5276 GB, free: 2.574 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.1836, allocations: 449.7 kB / 0.5281 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.184, allocations: 327.2 kB / 0.5284 GB, free: 1.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1841, allocations: 357.9 kB / 0.5287 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.185, allocations: 0.5816 MB / 0.5293 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.198/0.3831, allocations: 1.173 MB / 0.5304 GB, free: 50.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.3857, allocations: 2.004 MB / 0.5324 GB, free: 49.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.3857, allocations: 5.5 kB / 0.5324 GB, free: 49.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004631/0.3903, allocations: 2.492 MB / 0.5348 GB, free: 48.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.3904, allocations: 67.69 kB / 0.5349 GB, free: 48.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002898/0.3933, allocations: 1.567 MB / 0.5364 GB, free: 48.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.395, allocations: 0.543 MB / 0.537 GB, free: 47.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3962, allocations: 325.5 kB / 0.5373 GB, free: 47.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009614/0.4058, allocations: 9.448 MB / 0.5465 GB, free: 40.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.407, allocations: 73.05 kB / 0.5466 GB, free: 40.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4072, allocations: 101.7 kB / 0.5467 GB, free: 40.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008878/0.4081, allocations: 0.5991 MB / 0.5473 GB, free: 40.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4083, allocations: 123.2 kB / 0.5474 GB, free: 40.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.4107, allocations: 1.539 MB / 0.5489 GB, free: 39.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.4107, allocations: 15.44 kB / 0.5489 GB, free: 39.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4107, allocations: 1.406 kB / 0.5489 GB, free: 39.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.4107, allocations: 7.422 kB / 0.5489 GB, free: 39.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/0.4151, allocations: 3.07 MB / 0.5519 GB, free: 38.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4151, allocations: 2.812 kB / 0.5519 GB, free: 38.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.4164, allocations: 300.5 kB / 0.5522 GB, free: 38.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.4165, allocations: 7.219 kB / 0.5522 GB, free: 38.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/0.4166, allocations: 36.7 kB / 0.5522 GB, free: 38.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.4166, allocations: 6.859 kB / 0.5522 GB, free: 38.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.4166, allocations: 6.469 kB / 0.5522 GB, free: 38.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002727/0.4193, allocations: 2.321 MB / 0.5545 GB, free: 37.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.4198, allocations: 291.6 kB / 0.5548 GB, free: 37.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.42, allocations: 42.3 kB / 0.5548 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.4206, allocations: 42.75 kB / 0.5549 GB, free: 37.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.4207, allocations: 80.41 kB / 0.5549 GB, free: 37.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.4208, allocations: 78.83 kB / 0.555 GB, free: 37.25 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007378/0.4216, allocations: 0.5995 MB / 0.5556 GB, free: 37.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4216, allocations: 0 / 0.5556 GB, free: 37.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001495/0.4231, allocations: 425.5 kB / 0.556 GB, free: 36.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 2 * 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.0001728/0.4233, allocations: 143.9 kB / 0.5561 GB, free: 36.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.4262, allocations: 2.339 MB / 0.5584 GB, free: 35.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4262, allocations: 0 / 0.5584 GB, free: 35.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008655/0.4271, allocations: 0.8785 MB / 0.5593 GB, free: 35.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009811/0.4281, allocations: 226.8 kB / 0.5595 GB, free: 35.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004849/0.433, allocations: 3.51 MB / 0.5629 GB, free: 32.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.4338, allocations: 1.46 MB / 0.5644 GB, free: 31.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.4342, allocations: 103.4 kB / 0.5645 GB, free: 31.26 MB / 414.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4342, allocations: 0 / 0.5645 GB, free: 31.26 MB / 414.1 MB Notification: Performance of Templates: time 0.02998/0.4642, allocations: 28.4 MB / 0.5922 GB, free: 2.793 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)