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.001363/0.001363, 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.001493/0.001493, allocations: 211.7 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1885/0.1885, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.002342/0.002342, allocations: 63.89 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3012, 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.01172/0.3129, allocations: 8.518 MB / 0.5503 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00661/0.3195, allocations: 3.202 MB / 0.5534 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009633/0.3205, allocations: 50.31 kB / 0.5534 GB, free: 7.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.3235, allocations: 1.012 MB / 0.5544 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.3264, allocations: 1.121 MB / 0.5555 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.3285, allocations: 0.7103 MB / 0.5562 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003388/0.3319, allocations: 2.368 MB / 0.5585 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.3331, allocations: 0.6587 MB / 0.5592 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.3351, allocations: 1.031 MB / 0.5602 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.3376, allocations: 1.413 MB / 0.5616 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004378/0.3381, allocations: 128 kB / 0.5617 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.3396, allocations: 0.6045 MB / 0.5623 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.3406, allocations: 0.9506 MB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009385/0.3416, allocations: 0.7466 MB / 0.5639 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.3444, allocations: 2.389 MB / 0.5663 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3444, allocations: 4 kB / 0.5663 GB, free: 11.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3444, allocations: 0 / 0.5663 GB, free: 11.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.667e-05/0.3445, allocations: 0 / 0.5663 GB, free: 11.28 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.003767/0.3482, allocations: 1.996 MB / 0.5682 GB, free: 9.227 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3483, allocations: 11.98 kB / 0.5682 GB, free: 9.215 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002823/0.3486, allocations: 236.8 kB / 0.5684 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.3508, allocations: 483.2 kB / 0.5689 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.353, allocations: 0.9956 MB / 0.5699 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-05/0.3531, allocations: 107.1 kB / 0.57 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.3534, allocations: 163.9 kB / 0.5701 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.3571, allocations: 2.386 MB / 0.5725 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/0.3572, allocations: 19.81 kB / 0.5725 GB, free: 4.633 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.3573, allocations: 63.97 kB / 0.5725 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005212/0.3579, allocations: 222.8 kB / 0.5728 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.361, allocations: 1.892 MB / 0.5746 GB, free: 2.441 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.01162/0.3726, allocations: 8.427 MB / 0.5828 GB, free: 9.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0023/0.3749, allocations: 1.359 MB / 0.5842 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008972/0.3758, allocations: 0.5975 MB / 0.5847 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.296e-05/0.3759, allocations: 20.94 kB / 0.5848 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.3772, allocations: 0.9109 MB / 0.5857 GB, free: 6.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.196e-06/0.3772, allocations: 0 / 0.5857 GB, free: 6.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006791/0.384, allocations: 4.152 MB / 0.5897 GB, free: 2.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.3842, allocations: 286.3 kB / 0.59 GB, free: 2.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3854, allocations: 0.9418 MB / 0.5909 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.3854, allocations: 53.7 kB / 0.591 GB, free: 1.062 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007701/0.3862, allocations: 0.7849 MB / 0.5917 GB, free: 272 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005516/0.3868, allocations: 487.9 kB / 0.5922 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004511/0.3872, allocations: 319.4 kB / 0.5925 GB, free: 15.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3874, allocations: 361.9 kB / 0.5928 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009931/0.3884, allocations: 0.6319 MB / 0.5935 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3899, allocations: 1.225 MB / 0.5946 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/0.3926, allocations: 2.009 MB / 0.5966 GB, free: 10.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3926, allocations: 4 kB / 0.5966 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004842/0.3974, allocations: 2.54 MB / 0.5991 GB, free: 8.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.3975, allocations: 71.39 kB / 0.5992 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003002/0.4005, allocations: 1.54 MB / 0.6007 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.4022, allocations: 0.5534 MB / 0.6012 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4032, allocations: 327.5 kB / 0.6015 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.4142, allocations: 8.965 MB / 0.6103 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.4152, allocations: 75.91 kB / 0.6103 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.4153, allocations: 104 kB / 0.6104 GB, free: 11.96 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.0009138/0.4162, allocations: 0.6037 MB / 0.611 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4164, allocations: 131.2 kB / 0.6112 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.419, allocations: 1.605 MB / 0.6127 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.419, allocations: 15.94 kB / 0.6127 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.419, allocations: 0 / 0.6127 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.419, allocations: 11.97 kB / 0.6128 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005201/0.4242, allocations: 3 MB / 0.6157 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.4242, allocations: 4 kB / 0.6157 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.4256, allocations: 295.8 kB / 0.616 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4256, allocations: 8 kB / 0.616 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.4257, allocations: 31.98 kB / 0.616 GB, free: 6.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.4257, allocations: 8 kB / 0.616 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4257, allocations: 7.938 kB / 0.616 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.4293, allocations: 2.47 MB / 0.6184 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007323/0.4301, allocations: 223.1 kB / 0.6186 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4302, allocations: 31.98 kB / 0.6187 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/0.4308, allocations: 43.97 kB / 0.6187 GB, free: 3.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.431, allocations: 76.8 kB / 0.6188 GB, free: 3.184 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.4311, allocations: 83.91 kB / 0.6189 GB, free: 3.102 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008745/0.432, allocations: 0.5986 MB / 0.6195 GB, free: 2.492 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.432, allocations: 0 / 0.6195 GB, free: 2.492 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001368/0.4334, allocations: 427.9 kB / 0.6199 GB, free: 2.074 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.003869/0.4372, allocations: 3.044 MB / 0.6228 GB, free: 14.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003824/0.441, allocations: 2.381 MB / 0.6252 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4411, allocations: 0 / 0.6252 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.4422, allocations: 0.8392 MB / 0.626 GB, free: 11.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.4434, allocations: 236.3 kB / 0.6262 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.4643, allocations: 13.4 MB / 0.6393 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.4655, allocations: 0.8658 MB / 0.6401 GB, free: 12.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.4666, allocations: 470.3 kB / 0.6406 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007844/0.4674, allocations: 0.5657 MB / 0.6411 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4674, allocations: 4 kB / 0.6411 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07517/0.5426, allocations: 28.72 MB / 0.6692 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.27, allocations: 7.094 kB / 0.6692 GB, free: 14.81 MB / 0.5137 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.192345495335758] Failed to read output from testmodel.py, exit status != 0: 13.404533859807998 13.435996516 13.085407438 Calling exit ...