Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 238.8 MB, free: 4.734 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 184.5 kB / 289.1 MB, free: 2.477 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4632/0.4632, allocations: 78.52 MB / 417.8 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 79.88 kB / 496.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1497, allocations: 68.18 MB / 0.5518 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2731/0.4229, allocations: 3.599 MB / 0.5553 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.4247, allocations: 1.082 MB / 0.5564 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.4249, allocations: 4.062 kB / 0.5564 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.4252, allocations: 84.25 kB / 0.5564 GB, free: 37.49 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation phaseShiftingTransformer.twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0003412/0.4256, allocations: 138.9 kB / 0.5566 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.4262, allocations: 320.1 kB / 0.5569 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004483/0.4267, allocations: 0.5718 MB / 0.5574 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.4269, allocations: 130.4 kB / 0.5576 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.4272, allocations: 222.1 kB / 0.5578 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.4275, allocations: 252.2 kB / 0.558 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.566e-05/0.4275, allocations: 30.38 kB / 0.558 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.4277, allocations: 80.78 kB / 0.5581 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.4278, allocations: 92.89 kB / 0.5582 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.428, allocations: 244.8 kB / 0.5584 GB, free: 37.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.4286, allocations: 0.652 MB / 0.5591 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4286, allocations: 0 / 0.5591 GB, free: 37 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4286, allocations: 0 / 0.5591 GB, free: 37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.4286, allocations: 0 / 0.5591 GB, free: 37 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001319/0.4299, allocations: 0.8343 MB / 0.5599 GB, free: 36.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.43, allocations: 11.41 kB / 0.5599 GB, free: 36.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.394e-05/0.43, allocations: 69.78 kB / 0.56 GB, free: 36.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009455/0.431, allocations: 165.1 kB / 0.5601 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.4314, allocations: 403.8 kB / 0.5605 GB, free: 36.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.4316, allocations: 66.22 kB / 0.5606 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.4316, allocations: 24.41 kB / 0.5606 GB, free: 36.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.4324, allocations: 386 kB / 0.561 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4324, allocations: 0.5625 kB / 0.561 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.4325, allocations: 11.69 kB / 0.561 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4325, allocations: 6.5 kB / 0.561 GB, free: 36.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/0.4331, allocations: 340.1 kB / 0.5613 GB, free: 36.04 MB / 430.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.00244/0.4356, allocations: 1.867 MB / 0.5631 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.4365, allocations: 0.8104 MB / 0.5639 GB, free: 34.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.4369, allocations: 191.4 kB / 0.5641 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.4369, allocations: 6.641 kB / 0.5641 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.4369, allocations: 37.59 kB / 0.5642 GB, free: 34.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.437, allocations: 0 / 0.5642 GB, free: 34.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004364/0.4413, allocations: 1.244 MB / 0.5654 GB, free: 34.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.4414, allocations: 54.28 kB / 0.5654 GB, free: 34.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.4418, allocations: 427.4 kB / 0.5658 GB, free: 34.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.4418, allocations: 35.42 kB / 0.5659 GB, free: 34.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.442, allocations: 263.2 kB / 0.5661 GB, free: 34.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.442, allocations: 85.52 kB / 0.5662 GB, free: 34.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4421, allocations: 60.98 kB / 0.5663 GB, free: 34.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.858e-05/0.4422, allocations: 361.7 kB / 0.5666 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.4426, allocations: 182.1 kB / 0.5668 GB, free: 33.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003865/0.443, allocations: 236.5 kB / 0.567 GB, free: 33.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.4474, allocations: 1.292 MB / 0.5683 GB, free: 33.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4474, allocations: 1 kB / 0.5683 GB, free: 33.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002155/0.4496, allocations: 0.8429 MB / 0.5691 GB, free: 33.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.4496, allocations: 13.91 kB / 0.5691 GB, free: 33.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4497, allocations: 0 / 0.5691 GB, free: 33.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/0.4517, allocations: 0.5527 MB / 0.5696 GB, free: 33.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007488/0.4524, allocations: 144.6 kB / 0.5698 GB, free: 33.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/0.4585, allocations: 2.982 MB / 0.5727 GB, free: 32.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.459, allocations: 49.2 kB / 0.5727 GB, free: 32.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.459, allocations: 14.25 kB / 0.5727 GB, free: 32.16 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" type: Real phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002353/0.4593, allocations: 169.8 kB / 0.5729 GB, free: 32.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.4594, allocations: 44.84 kB / 0.573 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.4616, allocations: 0.7759 MB / 0.5737 GB, free: 31.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4616, allocations: 6.562 kB / 0.5737 GB, free: 31.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4616, allocations: 0 / 0.5737 GB, free: 31.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4616, allocations: 0 / 0.5737 GB, free: 31.94 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002755/0.4644, allocations: 1.469 MB / 0.5751 GB, free: 31.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4644, allocations: 4 kB / 0.5752 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000851/0.4652, allocations: 126.3 kB / 0.5753 GB, free: 31.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.4676, allocations: 0.6293 MB / 0.5759 GB, free: 31.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.4677, allocations: 19.38 kB / 0.5759 GB, free: 31.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005592/0.4733, allocations: 2.946 MB / 0.5788 GB, free: 29.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4733, allocations: 0 / 0.5788 GB, free: 29.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.4759, allocations: 1.045 MB / 0.5798 GB, free: 29.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.476, allocations: 122.9 kB / 0.5799 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.413e-05/0.4761, allocations: 10.56 kB / 0.5799 GB, free: 29.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.4764, allocations: 29.75 kB / 0.58 GB, free: 29.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.4766, allocations: 52.56 kB / 0.58 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.4766, allocations: 12.83 kB / 0.58 GB, free: 29.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002901/0.4769, allocations: 297.6 kB / 0.5803 GB, free: 29.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.4769, allocations: 0 / 0.5803 GB, free: 29.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005407/0.4775, allocations: 138.2 kB / 0.5804 GB, free: 29.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (phaseShiftingTransformer.phaseShifter.pmes,phaseShiftingTransformer.phaseShifter.alpha) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00265/0.4801, allocations: 1.518 MB / 0.5819 GB, free: 28.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002585/0.4827, allocations: 0.7475 MB / 0.5827 GB, free: 27.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4828, allocations: 0 / 0.5827 GB, free: 27.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.4849, allocations: 0.564 MB / 0.5832 GB, free: 27.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.4854, allocations: 36.48 kB / 0.5832 GB, free: 27.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.4962, allocations: 5.007 MB / 0.5881 GB, free: 24.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4965, allocations: 0.8253 MB / 0.5889 GB, free: 24.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.4967, allocations: 35.72 kB / 0.589 GB, free: 24.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.4969, allocations: 146.5 kB / 0.5891 GB, free: 24.12 MB / 430.1 MB Notification: Performance of SimCode: time 1.743e-06/0.4969, allocations: 1.375 kB / 0.5891 GB, free: 24.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03442/0.5313, allocations: 11.1 MB / 0.6 GB, free: 23.22 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.5315, allocations: 233.9 kB / 0.6002 GB, free: 22.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.481, allocations: 0 / 0.6002 GB, free: 22.97 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)