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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 211.3 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1881/0.1881, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.89 kB / 492.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3131, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01108/0.3242, allocations: 8.506 MB / 0.5502 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007342/0.3315, allocations: 3.21 MB / 0.5534 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.3326, allocations: 46.56 kB / 0.5534 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.3358, allocations: 1.011 MB / 0.5544 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.3392, allocations: 1.119 MB / 0.5555 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.3415, allocations: 0.7091 MB / 0.5562 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004164/0.3456, allocations: 2.371 MB / 0.5585 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.3476, allocations: 0.6587 MB / 0.5592 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002799/0.3504, allocations: 1.027 MB / 0.5602 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003081/0.3535, allocations: 1.414 MB / 0.5615 GB, free: 168 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.354, allocations: 128 kB / 0.5617 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001843/0.3559, allocations: 0.6124 MB / 0.5623 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.3572, allocations: 0.9428 MB / 0.5632 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.3589, allocations: 0.7466 MB / 0.5639 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.3625, allocations: 2.397 MB / 0.5663 GB, free: 11.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3625, allocations: 0 / 0.5663 GB, free: 11.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3625, allocations: 4 kB / 0.5663 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.3625, allocations: 0 / 0.5663 GB, free: 11.32 MB / 414.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.004306/0.3669, allocations: 1.996 MB / 0.5682 GB, free: 9.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3669, allocations: 11.98 kB / 0.5682 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003646/0.3673, allocations: 240.8 kB / 0.5684 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/0.3699, allocations: 483.2 kB / 0.5689 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.3724, allocations: 0.9917 MB / 0.5699 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3725, allocations: 103.1 kB / 0.57 GB, free: 7.414 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/0.3729, allocations: 167.8 kB / 0.5701 GB, free: 7.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.3767, allocations: 2.39 MB / 0.5725 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.55e-05/0.3768, allocations: 11.89 kB / 0.5725 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.3769, allocations: 59.97 kB / 0.5725 GB, free: 4.621 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005835/0.3775, allocations: 222.8 kB / 0.5727 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003425/0.3809, allocations: 1.896 MB / 0.5746 GB, free: 2.488 MB / 414.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.01257/0.3935, allocations: 8.427 MB / 0.5828 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.396, allocations: 1.359 MB / 0.5842 GB, free: 8.332 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009835/0.3969, allocations: 0.6053 MB / 0.5847 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.93e-05/0.397, allocations: 16.94 kB / 0.5848 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.3984, allocations: 0.9187 MB / 0.5857 GB, free: 6.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.737e-06/0.3984, allocations: 0 / 0.5857 GB, free: 6.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.007043/0.4054, allocations: 4.136 MB / 0.5897 GB, free: 2.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.4056, allocations: 286.3 kB / 0.59 GB, free: 2.137 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.407, allocations: 0.9457 MB / 0.5909 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/0.4071, allocations: 49.7 kB / 0.5909 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007376/0.4078, allocations: 0.7849 MB / 0.5917 GB, free: 324 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/0.4083, allocations: 484.2 kB / 0.5922 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004644/0.4087, allocations: 327.4 kB / 0.5925 GB, free: 15.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4089, allocations: 353.9 kB / 0.5928 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001078/0.41, allocations: 0.6358 MB / 0.5934 GB, free: 14.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.4115, allocations: 1.228 MB / 0.5946 GB, free: 13.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.4145, allocations: 2.005 MB / 0.5966 GB, free: 10.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/0.4145, allocations: 4 kB / 0.5966 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004975/0.4195, allocations: 2.536 MB / 0.5991 GB, free: 8.133 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/0.4196, allocations: 75.39 kB / 0.5992 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003273/0.4229, allocations: 1.544 MB / 0.6007 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.4246, allocations: 0.5454 MB / 0.6012 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.4258, allocations: 327.5 kB / 0.6015 GB, free: 5.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4378, allocations: 8.984 MB / 0.6103 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.439, allocations: 71.92 kB / 0.6103 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.4393, allocations: 99.95 kB / 0.6104 GB, free: 12.01 MB / 462.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.001088/0.4404, allocations: 0.6037 MB / 0.611 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.4406, allocations: 135.2 kB / 0.6112 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.4436, allocations: 1.601 MB / 0.6127 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4436, allocations: 15.94 kB / 0.6127 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4436, allocations: 0 / 0.6127 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.4436, allocations: 11.98 kB / 0.6128 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.4493, allocations: 2.992 MB / 0.6157 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4493, allocations: 4 kB / 0.6157 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.4508, allocations: 299.8 kB / 0.616 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/0.4508, allocations: 4 kB / 0.616 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.4509, allocations: 35.98 kB / 0.616 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.587e-05/0.4509, allocations: 7.938 kB / 0.616 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4509, allocations: 4 kB / 0.616 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.4547, allocations: 2.47 MB / 0.6184 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.4554, allocations: 223.1 kB / 0.6186 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002349/0.4556, allocations: 31.98 kB / 0.6187 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006575/0.4563, allocations: 43.97 kB / 0.6187 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4564, allocations: 80.8 kB / 0.6188 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.4566, allocations: 79.86 kB / 0.6189 GB, free: 3.152 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.4576, allocations: 0.6025 MB / 0.6195 GB, free: 2.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 0 / 0.6195 GB, free: 2.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001534/0.4591, allocations: 424 kB / 0.6199 GB, free: 2.125 MB / 462.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.004085/0.4632, allocations: 3.052 MB / 0.6228 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004007/0.4672, allocations: 2.381 MB / 0.6252 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.4672, allocations: 0 / 0.6252 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.4685, allocations: 0.847 MB / 0.626 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.4699, allocations: 222.6 kB / 0.6262 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/0.4937, allocations: 13.4 MB / 0.6393 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.4954, allocations: 0.8698 MB / 0.6401 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001391/0.4967, allocations: 466.3 kB / 0.6406 GB, free: 11.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009481/0.4977, allocations: 0.5657 MB / 0.6411 GB, free: 11.28 MB / 494.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4977, allocations: 4 kB / 0.6411 GB, free: 11.28 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08091/0.5786, allocations: 28.72 MB / 0.6692 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.4, allocations: 3.984 kB / 0.6692 GB, free: 14.86 MB / 0.5137 GB " [Timeout remaining time 646] (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 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.284302395768464] Failed to read output from testmodel.py, exit status != 0: 13.529716515913606 13.555986005 13.188464594 Calling exit ...