Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.001901/0.001901, 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.002404/0.002404, allocations: 209.3 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.1924/0.1924, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.002081/0.002081, allocations: 63.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3092, allocations: 62.47 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008279/0.3175, allocations: 6.24 MB / 0.548 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004487/0.322, allocations: 2.309 MB / 0.5503 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.3224, allocations: 37.97 kB / 0.5503 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.3242, allocations: 0.5909 MB / 0.5509 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.3258, allocations: 0.6944 MB / 0.5516 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.327, allocations: 463.4 kB / 0.552 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.3286, allocations: 1.364 MB / 0.5534 GB, free: 7.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006358/0.3292, allocations: 408 kB / 0.5537 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009724/0.3302, allocations: 0.5921 MB / 0.5543 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3316, allocations: 0.8639 MB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.3317, allocations: 74.69 kB / 0.5552 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.3325, allocations: 294.7 kB / 0.5555 GB, free: 6.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.3331, allocations: 0.5337 MB / 0.556 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005431/0.3336, allocations: 442 kB / 0.5565 GB, free: 5.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3353, allocations: 1.354 MB / 0.5578 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3353, allocations: 0 / 0.5578 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3353, allocations: 0 / 0.5578 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.3353, allocations: 3.938 kB / 0.5578 GB, free: 3.977 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002616/0.3379, allocations: 1.285 MB / 0.559 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.338, allocations: 11.98 kB / 0.559 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002035/0.3382, allocations: 160.3 kB / 0.5592 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/0.3396, allocations: 267.9 kB / 0.5595 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.341, allocations: 0.6457 MB / 0.5601 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.3411, allocations: 54.38 kB / 0.5601 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.3413, allocations: 99.89 kB / 0.5602 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.3434, allocations: 1.421 MB / 0.5616 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.3434, allocations: 8 kB / 0.5616 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.3435, allocations: 35.98 kB / 0.5617 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002897/0.3438, allocations: 117.9 kB / 0.5618 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.3456, allocations: 1.122 MB / 0.5629 GB, free: 14.57 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.0079/0.3535, allocations: 5.468 MB / 0.5682 GB, free: 8.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.3546, allocations: 0.6121 MB / 0.5688 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004819/0.3551, allocations: 312.8 kB / 0.5691 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.3552, allocations: 20.42 kB / 0.5691 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007351/0.3559, allocations: 0.4947 MB / 0.5696 GB, free: 7.348 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.905e-06/0.3559, allocations: 4 kB / 0.5696 GB, free: 7.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003617/0.3595, allocations: 2.169 MB / 0.5717 GB, free: 5.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.3597, allocations: 166.9 kB / 0.5719 GB, free: 4.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008115/0.3605, allocations: 0.6676 MB / 0.5725 GB, free: 4.242 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.151e-05/0.3605, allocations: 37.7 kB / 0.5726 GB, free: 4.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.361, allocations: 0.5424 MB / 0.5731 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.3612, allocations: 242 kB / 0.5733 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/0.3615, allocations: 214.8 kB / 0.5735 GB, free: 3.195 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.3617, allocations: 382.8 kB / 0.5739 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.3623, allocations: 376.1 kB / 0.5743 GB, free: 2.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009423/0.3632, allocations: 0.7954 MB / 0.575 GB, free: 1.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.3649, allocations: 1.246 MB / 0.5763 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3649, allocations: 4 kB / 0.5763 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002714/0.3676, allocations: 1.458 MB / 0.5777 GB, free: 14.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.4e-05/0.3677, allocations: 49.56 kB / 0.5777 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001506/0.3692, allocations: 0.7805 MB / 0.5785 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.3699, allocations: 257.5 kB / 0.5787 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/0.3706, allocations: 207.6 kB / 0.5789 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005062/0.3757, allocations: 4.156 MB / 0.583 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.3764, allocations: 51.97 kB / 0.5831 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.3765, allocations: 59.98 kB / 0.5831 GB, free: 8.688 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005952/0.3771, allocations: 399.7 kB / 0.5835 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.3772, allocations: 83.42 kB / 0.5836 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.3787, allocations: 0.8907 MB / 0.5844 GB, free: 7.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3787, allocations: 8 kB / 0.5844 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.3787, allocations: 0 / 0.5844 GB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3787, allocations: 3.984 kB / 0.5845 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.3817, allocations: 1.707 MB / 0.5861 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.3817, allocations: 4 kB / 0.5861 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.3825, allocations: 151.9 kB / 0.5863 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3825, allocations: 4 kB / 0.5863 GB, free: 5.324 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.3825, allocations: 23.98 kB / 0.5863 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3825, allocations: 4 kB / 0.5863 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3825, allocations: 4 kB / 0.5863 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3845, allocations: 1.377 MB / 0.5876 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.3849, allocations: 127.5 kB / 0.5878 GB, free: 3.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.385, allocations: 16 kB / 0.5878 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.3854, allocations: 35.97 kB / 0.5878 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3855, allocations: 60.22 kB / 0.5879 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/0.3855, allocations: 35.97 kB / 0.5879 GB, free: 3.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005081/0.386, allocations: 427 kB / 0.5883 GB, free: 3.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.386, allocations: 0 / 0.5883 GB, free: 3.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008952/0.3869, allocations: 232 kB / 0.5885 GB, free: 2.953 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.002382/0.3893, allocations: 1.945 MB / 0.5904 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.3915, allocations: 1.268 MB / 0.5917 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3915, allocations: 1.75 kB / 0.5917 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.3921, allocations: 447.8 kB / 0.5921 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008232/0.3929, allocations: 135 kB / 0.5922 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.4064, allocations: 8.242 MB / 0.6003 GB, free: 6.215 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.407, allocations: 0.5078 MB / 0.6008 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007401/0.4077, allocations: 290.4 kB / 0.6011 GB, free: 5.387 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.4082, allocations: 331.3 kB / 0.6014 GB, free: 5.062 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4082, allocations: 0 / 0.6014 GB, free: 5.062 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/0.4629, allocations: 17.47 MB / 0.6184 GB, free: 3.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.54, allocations: 6.5 kB / 0.6184 GB, free: 3.828 MB / 462.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.370251323038246] Failed to read output from testmodel.py, exit status != 0: 12.658890475984663 12.674701216 12.336205094 Calling exit ...