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.00137/0.00137, 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.001476/0.001476, allocations: 210.4 kB / 23.72 MB, free: 4.391 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.184/0.184, allocations: 38.56 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.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.002157/0.002157, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008159/0.3194, allocations: 6.228 MB / 0.548 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.3239, allocations: 2.318 MB / 0.5503 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.3243, allocations: 30.59 kB / 0.5503 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.326, allocations: 0.5902 MB / 0.5509 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.3277, allocations: 0.6934 MB / 0.5516 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.329, allocations: 459.2 kB / 0.552 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.3307, allocations: 1.361 MB / 0.5533 GB, free: 7.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.3314, allocations: 412.2 kB / 0.5537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.3324, allocations: 0.5995 MB / 0.5543 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.3337, allocations: 0.8177 MB / 0.5551 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3338, allocations: 78 kB / 0.5552 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.3345, allocations: 301.3 kB / 0.5555 GB, free: 6.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005587/0.3351, allocations: 0.5298 MB / 0.556 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005115/0.3356, allocations: 445.9 kB / 0.5564 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3371, allocations: 1.354 MB / 0.5577 GB, free: 4.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3371, allocations: 4 kB / 0.5578 GB, free: 4.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3371, allocations: 0 / 0.5578 GB, free: 4.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.3372, allocations: 0 / 0.5578 GB, free: 4.043 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.002467/0.3396, allocations: 1.277 MB / 0.559 GB, free: 2.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3397, allocations: 15.98 kB / 0.559 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.3399, allocations: 152.3 kB / 0.5592 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3412, allocations: 279.9 kB / 0.5594 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3426, allocations: 0.634 MB / 0.56 GB, free: 1.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.3427, allocations: 70.3 kB / 0.5601 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.3429, allocations: 103.9 kB / 0.5602 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3451, allocations: 1.417 MB / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.3451, allocations: 3.938 kB / 0.5616 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/0.3452, allocations: 39.98 kB / 0.5616 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002868/0.3455, allocations: 117.9 kB / 0.5617 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.3473, allocations: 1.114 MB / 0.5628 GB, free: 14.63 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.007452/0.3548, allocations: 5.472 MB / 0.5682 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.3559, allocations: 0.6156 MB / 0.5688 GB, free: 8.273 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.3564, allocations: 317.3 kB / 0.5691 GB, free: 7.953 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.3564, allocations: 12.48 kB / 0.5691 GB, free: 7.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007183/0.3571, allocations: 0.4946 MB / 0.5696 GB, free: 7.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.605e-06/0.3571, allocations: 0 / 0.5696 GB, free: 7.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003668/0.3608, allocations: 2.177 MB / 0.5717 GB, free: 5.176 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3609, allocations: 170.9 kB / 0.5719 GB, free: 4.973 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.3617, allocations: 0.6638 MB / 0.5725 GB, free: 4.305 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/0.3618, allocations: 37.7 kB / 0.5726 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/0.3622, allocations: 0.5463 MB / 0.5731 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.3624, allocations: 242 kB / 0.5733 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.3627, allocations: 206.8 kB / 0.5735 GB, free: 3.262 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.363, allocations: 386.7 kB / 0.5739 GB, free: 2.875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.3635, allocations: 372.1 kB / 0.5742 GB, free: 2.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009359/0.3645, allocations: 0.7953 MB / 0.575 GB, free: 1.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.3661, allocations: 1.246 MB / 0.5762 GB, free: 40 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.3661, allocations: 8 kB / 0.5762 GB, free: 32 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002674/0.3688, allocations: 1.466 MB / 0.5777 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.3688, allocations: 45.62 kB / 0.5777 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001524/0.3703, allocations: 0.7761 MB / 0.5785 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007765/0.3711, allocations: 253.7 kB / 0.5787 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.3718, allocations: 219.6 kB / 0.5789 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004979/0.3768, allocations: 4.145 MB / 0.583 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006404/0.3775, allocations: 47.97 kB / 0.583 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.3776, allocations: 68.05 kB / 0.5831 GB, free: 8.75 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.0005819/0.3781, allocations: 399.8 kB / 0.5835 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3783, allocations: 83.42 kB / 0.5835 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.3797, allocations: 0.8829 MB / 0.5844 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3798, allocations: 4 kB / 0.5844 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3798, allocations: 0 / 0.5844 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3798, allocations: 11.98 kB / 0.5844 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.3827, allocations: 1.715 MB / 0.5861 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3827, allocations: 0 / 0.5861 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.3835, allocations: 155.7 kB / 0.5862 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/0.3835, allocations: 4.156 kB / 0.5862 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.3835, allocations: 23.98 kB / 0.5863 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3835, allocations: 7.938 kB / 0.5863 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3835, allocations: 0 / 0.5863 GB, free: 5.352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.3855, allocations: 1.377 MB / 0.5876 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.3859, allocations: 127.5 kB / 0.5877 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.566e-05/0.386, allocations: 19.94 kB / 0.5878 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3863, allocations: 27.97 kB / 0.5878 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.3864, allocations: 52.34 kB / 0.5878 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-05/0.3865, allocations: 48.05 kB / 0.5879 GB, free: 3.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.3871, allocations: 423 kB / 0.5883 GB, free: 3.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3871, allocations: 0 / 0.5883 GB, free: 3.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00089/0.3879, allocations: 232 kB / 0.5885 GB, free: 3.016 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.002323/0.3903, allocations: 1.942 MB / 0.5904 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.3924, allocations: 1.265 MB / 0.5916 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3924, allocations: 0 / 0.5916 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000652/0.3931, allocations: 451.8 kB / 0.5921 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.3938, allocations: 141.7 kB / 0.5922 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.4059, allocations: 8.227 MB / 0.6002 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.4066, allocations: 0.5195 MB / 0.6007 GB, free: 5.746 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007201/0.4073, allocations: 286.4 kB / 0.601 GB, free: 5.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004559/0.4078, allocations: 327.3 kB / 0.6013 GB, free: 5.141 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4078, allocations: 4 kB / 0.6013 GB, free: 5.137 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05343/0.4612, allocations: 17.09 MB / 0.618 GB, free: 4.277 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.58, allocations: 3.938 kB / 0.618 GB, free: 4.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --stepSize=0.0012 --timeout=50 --tolerance=1e-06 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.363872820045799] Failed to read output from testmodel.py, exit status != 0: 12.701681971084327 12.718067918 12.377479023 Calling exit ...