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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 101.9 kB / 16.62 MB, free: 6.809 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.001257/0.001257, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.276/1.276, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1652/0.1652, allocations: 38.02 MB / 329.4 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.84 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 58.07 MB / 456.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01281/0.117, allocations: 10.71 MB / 467.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007372/0.1244, allocations: 3.856 MB / 471 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.1258, allocations: 63.56 kB / 471.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.1285, allocations: 0.9846 MB / 472.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.1312, allocations: 1.036 MB / 473.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.133, allocations: 0.6318 MB / 473.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.1362, allocations: 2.39 MB / 476.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.1377, allocations: 0.8698 MB / 477 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002384/0.1401, allocations: 1.004 MB / 478 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/0.1431, allocations: 1.464 MB / 479.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006646/0.1438, allocations: 128 kB / 479.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.1456, allocations: 0.5773 MB / 480.2 MB, free: 500 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001569/0.1472, allocations: 0.9314 MB / 481.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.1492, allocations: 0.9057 MB / 482 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.1528, allocations: 2.317 MB / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1528, allocations: 0 / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1529, allocations: 0 / 484.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.153, allocations: 0 / 484.3 MB, free: 12.32 MB / 366.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.005224/0.1582, allocations: 2.015 MB / 486.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1583, allocations: 11.89 kB / 486.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005908/0.1589, allocations: 240.8 kB / 486.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.1609, allocations: 354.4 kB / 486.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002162/0.1631, allocations: 1.02 MB / 487.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1632, allocations: 107.1 kB / 488 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005523/0.1638, allocations: 159.9 kB / 488.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/0.1683, allocations: 2.332 MB / 490.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.037e-05/0.1684, allocations: 19.83 kB / 490.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.1686, allocations: 63.97 kB / 490.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005371/0.1691, allocations: 222.8 kB / 490.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003471/0.1726, allocations: 1.842 MB / 492.7 MB, free: 3.664 MB / 366.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.0128/0.1854, allocations: 9.575 MB / 0.4905 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.1877, allocations: 1.547 MB / 0.492 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008598/0.1886, allocations: 0.6029 MB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.1887, allocations: 16.94 kB / 0.4926 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.19, allocations: 0.8606 MB / 0.4934 GB, free: 6.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.87e-06/0.19, allocations: 0 / 0.4934 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.007032/0.1971, allocations: 4.007 MB / 0.4973 GB, free: 2.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.1973, allocations: 290.6 kB / 0.4976 GB, free: 2.004 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.1985, allocations: 0.9185 MB / 0.4985 GB, free: 1.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.1986, allocations: 45.7 kB / 0.4986 GB, free: 1.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006122/0.1992, allocations: 0.7667 MB / 0.4993 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.1996, allocations: 453.8 kB / 0.4997 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/0.2, allocations: 323.2 kB / 0.5001 GB, free: 15.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.2002, allocations: 361.9 kB / 0.5004 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.2012, allocations: 0.5739 MB / 0.501 GB, free: 14.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.2026, allocations: 1.178 MB / 0.5021 GB, free: 13.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002586/0.2052, allocations: 1.993 MB / 0.5041 GB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.836e-05/0.2052, allocations: 8 kB / 0.5041 GB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004478/0.2097, allocations: 2.497 MB / 0.5065 GB, free: 8.254 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/0.2098, allocations: 67.41 kB / 0.5066 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002893/0.2127, allocations: 1.569 MB / 0.5081 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.2143, allocations: 0.5536 MB / 0.5086 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2154, allocations: 323.5 kB / 0.5089 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1999/0.4152, allocations: 9.467 MB / 0.5182 GB, free: 66.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.4165, allocations: 73.08 kB / 0.5183 GB, free: 66.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003393/0.4169, allocations: 101 kB / 0.5184 GB, free: 66.76 MB / 398.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.00108/0.418, allocations: 0.6011 MB / 0.5189 GB, free: 66.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.4183, allocations: 126.2 kB / 0.5191 GB, free: 66.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.4205, allocations: 1.537 MB / 0.5206 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.4206, allocations: 11.75 kB / 0.5206 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4206, allocations: 1.125 kB / 0.5206 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4206, allocations: 7.531 kB / 0.5206 GB, free: 65.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.4252, allocations: 3.072 MB / 0.5236 GB, free: 64.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4252, allocations: 3.406 kB / 0.5236 GB, free: 64.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.4265, allocations: 298.3 kB / 0.5239 GB, free: 64.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.899e-05/0.4266, allocations: 6.562 kB / 0.5239 GB, free: 64.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.4267, allocations: 39.44 kB / 0.5239 GB, free: 64.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.204e-05/0.4267, allocations: 10.64 kB / 0.5239 GB, free: 64.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4267, allocations: 2.375 kB / 0.5239 GB, free: 64.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.4301, allocations: 2.318 MB / 0.5262 GB, free: 63.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004863/0.4306, allocations: 296.5 kB / 0.5265 GB, free: 63.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.4308, allocations: 30.91 kB / 0.5265 GB, free: 63.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.4314, allocations: 46.62 kB / 0.5266 GB, free: 63.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.4316, allocations: 79.88 kB / 0.5266 GB, free: 63.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/0.4317, allocations: 86.06 kB / 0.5267 GB, free: 63.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008045/0.4325, allocations: 0.6027 MB / 0.5273 GB, free: 63.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.4325, allocations: 0 / 0.5273 GB, free: 63.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001356/0.4339, allocations: 426 kB / 0.5277 GB, free: 63.25 MB / 398.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.003082/0.437, allocations: 2.913 MB / 0.5305 GB, free: 61.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00441/0.4414, allocations: 2.992 MB / 0.5335 GB, free: 60.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4414, allocations: 3.969 kB / 0.5335 GB, free: 60.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009299/0.4424, allocations: 0.868 MB / 0.5343 GB, free: 60.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4434, allocations: 221.2 kB / 0.5345 GB, free: 60.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.4602, allocations: 14.24 MB / 0.5484 GB, free: 50.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008324/0.461, allocations: 1.464 MB / 0.5499 GB, free: 48.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001027/0.4621, allocations: 460.9 kB / 0.5503 GB, free: 48.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.4626, allocations: 0.5696 MB / 0.5509 GB, free: 47.64 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.4626, allocations: 0 / 0.5509 GB, free: 47.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04718/0.5098, allocations: 26.52 MB / 0.5768 GB, free: 21.35 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/0.51, allocations: 229.8 kB / 0.577 GB, free: 21.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.139, allocations: 0 / 0.577 GB, free: 21.09 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)