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.001382/0.001382, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001521/0.001521, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1835/0.1835, allocations: 38.56 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.002133/0.002133, allocations: 67.91 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2936, allocations: 62.45 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01063/0.3042, allocations: 8.518 MB / 0.5502 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006129/0.3103, allocations: 3.214 MB / 0.5534 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005187/0.3109, allocations: 50.09 kB / 0.5534 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.3135, allocations: 1 MB / 0.5544 GB, free: 6.469 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.3159, allocations: 1.133 MB / 0.5555 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.3177, allocations: 0.6976 MB / 0.5562 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.3208, allocations: 2.375 MB / 0.5585 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009965/0.3218, allocations: 0.6626 MB / 0.5592 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.3233, allocations: 1.035 MB / 0.5602 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.3254, allocations: 1.453 MB / 0.5616 GB, free: 72 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.3256, allocations: 128 kB / 0.5617 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3269, allocations: 0.6239 MB / 0.5623 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009766/0.3279, allocations: 0.9428 MB / 0.5632 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009369/0.3288, allocations: 0.7427 MB / 0.564 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002908/0.3317, allocations: 2.401 MB / 0.5663 GB, free: 11.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3317, allocations: 3.938 kB / 0.5663 GB, free: 11.21 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.3317, allocations: 0 / 0.5663 GB, free: 11.21 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.464e-05/0.3318, allocations: 0 / 0.5663 GB, free: 11.21 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.003838/0.3356, allocations: 1.992 MB / 0.5683 GB, free: 9.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.3357, allocations: 11.98 kB / 0.5683 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003033/0.336, allocations: 236.8 kB / 0.5685 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.3384, allocations: 483.2 kB / 0.569 GB, free: 8.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3404, allocations: 0.9995 MB / 0.5699 GB, free: 7.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.3405, allocations: 107.1 kB / 0.57 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003312/0.3408, allocations: 159.9 kB / 0.5702 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.3446, allocations: 2.386 MB / 0.5725 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/0.3446, allocations: 11.89 kB / 0.5725 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3447, allocations: 63.95 kB / 0.5726 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005214/0.3453, allocations: 226.7 kB / 0.5728 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.3485, allocations: 1.892 MB / 0.5747 GB, free: 2.387 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.01171/0.3602, allocations: 8.423 MB / 0.5829 GB, free: 9.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.3626, allocations: 1.363 MB / 0.5842 GB, free: 8.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.3635, allocations: 0.6014 MB / 0.5848 GB, free: 7.609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.887e-05/0.3636, allocations: 17 kB / 0.5848 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.3649, allocations: 0.9186 MB / 0.5857 GB, free: 6.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.3649, allocations: 0 / 0.5857 GB, free: 6.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006988/0.3719, allocations: 4.14 MB / 0.5898 GB, free: 2.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/0.3721, allocations: 282.3 kB / 0.59 GB, free: 2.039 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.3734, allocations: 0.9496 MB / 0.591 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.3735, allocations: 49.7 kB / 0.591 GB, free: 1.012 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/0.3742, allocations: 0.7849 MB / 0.5918 GB, free: 220 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.3747, allocations: 480.2 kB / 0.5922 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/0.3752, allocations: 331.3 kB / 0.5925 GB, free: 15.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.3755, allocations: 357.9 kB / 0.5929 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3765, allocations: 0.6319 MB / 0.5935 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.3781, allocations: 1.225 MB / 0.5947 GB, free: 12.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.3809, allocations: 2.008 MB / 0.5967 GB, free: 10.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-05/0.3809, allocations: 4 kB / 0.5967 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004913/0.3858, allocations: 2.539 MB / 0.5991 GB, free: 8.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.3859, allocations: 74.36 kB / 0.5992 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003147/0.3891, allocations: 1.544 MB / 0.6007 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.3908, allocations: 0.5455 MB / 0.6013 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.3919, allocations: 327.5 kB / 0.6016 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.4036, allocations: 8.974 MB / 0.6103 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4047, allocations: 75.91 kB / 0.6104 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.4049, allocations: 103.9 kB / 0.6105 GB, free: 11.91 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.001051/0.4059, allocations: 0.5998 MB / 0.6111 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.4062, allocations: 131.2 kB / 0.6112 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.4089, allocations: 1.609 MB / 0.6128 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.4089, allocations: 15.94 kB / 0.6128 GB, free: 9.496 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4089, allocations: 4 kB / 0.6128 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.4089, allocations: 11.97 kB / 0.6128 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005258/0.4142, allocations: 2.992 MB / 0.6157 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4142, allocations: 4 kB / 0.6157 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.4156, allocations: 295.8 kB / 0.616 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.765e-05/0.4157, allocations: 8 kB / 0.616 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.4158, allocations: 31.98 kB / 0.6161 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/0.4158, allocations: 8 kB / 0.6161 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4158, allocations: 4 kB / 0.6161 GB, free: 6.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/0.4195, allocations: 2.47 MB / 0.6185 GB, free: 3.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006165/0.4201, allocations: 227 kB / 0.6187 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4203, allocations: 31.98 kB / 0.6187 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/0.4209, allocations: 43.97 kB / 0.6188 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.4211, allocations: 84.73 kB / 0.6189 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.4213, allocations: 75.92 kB / 0.6189 GB, free: 3.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009015/0.4222, allocations: 0.5986 MB / 0.6195 GB, free: 2.438 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4222, allocations: 4 kB / 0.6195 GB, free: 2.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001504/0.4237, allocations: 424 kB / 0.6199 GB, free: 2.02 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.004055/0.4277, allocations: 3.052 MB / 0.6229 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.4317, allocations: 2.38 MB / 0.6252 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4318, allocations: 0 / 0.6252 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.4329, allocations: 0.8409 MB / 0.626 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.434, allocations: 227.7 kB / 0.6263 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/0.4562, allocations: 13.4 MB / 0.6393 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.4577, allocations: 0.8698 MB / 0.6402 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001223/0.4589, allocations: 474.3 kB / 0.6407 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000846/0.4597, allocations: 0.5696 MB / 0.6412 GB, free: 11.17 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4597, allocations: 0 / 0.6412 GB, free: 11.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07517/0.5349, allocations: 29.35 MB / 0.6699 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.05, allocations: 10.75 kB / 0.6699 GB, free: 14.11 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.02475360687822] Failed to read output from testmodel.py, exit status != 0: 13.18114536209032 13.210856339 12.873631886 Calling exit ...