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.001401/0.001401, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002189/0.002189, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1862/0.1862, allocations: 38.53 MB / 353.2 MB, free: 12.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="cs",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.002269/0.002269, allocations: 71.89 kB / 493.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.337, allocations: 62.46 MB / 0.5428 GB, free: 316 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008769/0.3458, allocations: 6.72 MB / 0.5493 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004896/0.3507, allocations: 2.505 MB / 0.5518 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006175/0.3513, allocations: 31.22 kB / 0.5518 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.3532, allocations: 0.6378 MB / 0.5524 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001981/0.3552, allocations: 0.6897 MB / 0.5531 GB, free: 7.973 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.3566, allocations: 465.8 kB / 0.5536 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002157/0.3587, allocations: 1.358 MB / 0.5549 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007531/0.3595, allocations: 412.9 kB / 0.5553 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.3606, allocations: 0.5913 MB / 0.5558 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.3622, allocations: 0.853 MB / 0.5567 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3623, allocations: 83.23 kB / 0.5568 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007662/0.3631, allocations: 316.5 kB / 0.5571 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005953/0.3637, allocations: 0.5246 MB / 0.5576 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000681/0.3644, allocations: 0.5286 MB / 0.5581 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.3662, allocations: 1.35 MB / 0.5594 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3662, allocations: 0 / 0.5594 GB, free: 3.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3662, allocations: 4 kB / 0.5594 GB, free: 3.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.981e-05/0.3662, allocations: 4 kB / 0.5594 GB, free: 3.297 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.002587/0.3688, allocations: 1.273 MB / 0.5607 GB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3689, allocations: 11.98 kB / 0.5607 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.465e-05/0.3689, allocations: 30.12 kB / 0.5607 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.3691, allocations: 148.3 kB / 0.5608 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.3705, allocations: 275.9 kB / 0.5611 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.3719, allocations: 0.638 MB / 0.5617 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/0.3719, allocations: 66.11 kB / 0.5618 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.3722, allocations: 91.94 kB / 0.5619 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.3746, allocations: 1.392 MB / 0.5632 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.3746, allocations: 11.92 kB / 0.5633 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/0.3747, allocations: 32 kB / 0.5633 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000315/0.375, allocations: 121.9 kB / 0.5634 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.3769, allocations: 1.093 MB / 0.5645 GB, free: 13.94 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.007896/0.3848, allocations: 5.864 MB / 0.5702 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.386, allocations: 0.5867 MB / 0.5708 GB, free: 7.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000461/0.3865, allocations: 287.1 kB / 0.571 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/0.3865, allocations: 28.39 kB / 0.5711 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/0.3872, allocations: 472.8 kB / 0.5715 GB, free: 6.375 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.154e-06/0.3872, allocations: 3.938 kB / 0.5715 GB, free: 6.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003642/0.3909, allocations: 2.103 MB / 0.5736 GB, free: 4.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.391, allocations: 170.9 kB / 0.5737 GB, free: 4.016 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007924/0.3918, allocations: 0.6406 MB / 0.5744 GB, free: 3.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.3918, allocations: 37.7 kB / 0.5744 GB, free: 3.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.3923, allocations: 0.5463 MB / 0.5749 GB, free: 2.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.3926, allocations: 242 kB / 0.5752 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.3929, allocations: 206.8 kB / 0.5754 GB, free: 2.324 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3931, allocations: 386.7 kB / 0.5757 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.3936, allocations: 354.4 kB / 0.5761 GB, free: 1.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3946, allocations: 0.7702 MB / 0.5768 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.3964, allocations: 1.238 MB / 0.578 GB, free: 15.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3964, allocations: 4 kB / 0.578 GB, free: 15.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002775/0.3992, allocations: 1.436 MB / 0.5794 GB, free: 13.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.3992, allocations: 38.64 kB / 0.5795 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001671/0.4009, allocations: 0.7839 MB / 0.5802 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/0.4017, allocations: 249.5 kB / 0.5805 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/0.4025, allocations: 215.6 kB / 0.5807 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005484/0.4079, allocations: 4.184 MB / 0.5848 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/0.4088, allocations: 56.03 kB / 0.5848 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002308/0.409, allocations: 59.98 kB / 0.5849 GB, free: 7.883 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.0008662/0.4099, allocations: 402.9 kB / 0.5853 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.4101, allocations: 79.48 kB / 0.5853 GB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.4118, allocations: 0.8423 MB / 0.5862 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.4118, allocations: 12 kB / 0.5862 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4118, allocations: 0 / 0.5862 GB, free: 6.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.4118, allocations: 3.984 kB / 0.5862 GB, free: 6.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/0.4155, allocations: 1.748 MB / 0.5879 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.4155, allocations: 7.922 kB / 0.5879 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007817/0.4163, allocations: 147.8 kB / 0.588 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.4163, allocations: 4 kB / 0.588 GB, free: 4.535 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.4164, allocations: 16 kB / 0.588 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.4164, allocations: 11.92 kB / 0.5881 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.4164, allocations: 3.938 kB / 0.5881 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.4185, allocations: 1.316 MB / 0.5893 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/0.4189, allocations: 127.5 kB / 0.5895 GB, free: 3.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.4191, allocations: 16 kB / 0.5895 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/0.4195, allocations: 31.97 kB / 0.5895 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4197, allocations: 44.36 kB / 0.5896 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/0.4198, allocations: 47.95 kB / 0.5896 GB, free: 2.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007292/0.4205, allocations: 423 kB / 0.59 GB, free: 2.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4205, allocations: 0 / 0.59 GB, free: 2.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4217, allocations: 231.9 kB / 0.5902 GB, free: 2.254 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.002474/0.4241, allocations: 1.88 MB / 0.5921 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.4265, allocations: 1.199 MB / 0.5932 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4265, allocations: 0 / 0.5932 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.4271, allocations: 414.6 kB / 0.5936 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.428, allocations: 136.6 kB / 0.5938 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.4419, allocations: 8.099 MB / 0.6017 GB, free: 5.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.443, allocations: 1.118 MB / 0.6028 GB, free: 4.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008183/0.4438, allocations: 286.4 kB / 0.603 GB, free: 4.453 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.4444, allocations: 331.3 kB / 0.6034 GB, free: 4.129 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4444, allocations: 0 / 0.6034 GB, free: 4.129 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/0.5, allocations: 17.12 MB / 0.6201 GB, free: 3.176 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.54, allocations: 3.562 kB / 0.6201 GB, free: 3.176 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.476460429024883] Failed to read output from testmodel.py, exit status != 0: 13.722595620027278 13.751521204 13.379815792 Calling exit ...