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.001346/0.001346, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 239.3 MB, free: 4.547 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.001576/0.001577, allocations: 196.5 kB / 289.6 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4681/0.4681, allocations: 78.53 MB / 418.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001743, allocations: 76.08 kB / 497.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1366, allocations: 68.18 MB / 0.5525 GB, free: 2.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2296/0.3663, allocations: 3.387 MB / 0.5558 GB, free: 37.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3681, allocations: 1.049 MB / 0.5568 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.3683, allocations: 3.906 kB / 0.5568 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.3686, allocations: 100.5 kB / 0.5569 GB, free: 37.39 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.000371/0.369, allocations: 175.1 kB / 0.5571 GB, free: 37.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3696, allocations: 348.3 kB / 0.5574 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004656/0.3701, allocations: 0.5997 MB / 0.558 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3704, allocations: 149.3 kB / 0.5581 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.3706, allocations: 248.6 kB / 0.5584 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3709, allocations: 270.3 kB / 0.5586 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.526e-05/0.371, allocations: 53.16 kB / 0.5587 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3712, allocations: 106.1 kB / 0.5588 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.3713, allocations: 119.8 kB / 0.5589 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3715, allocations: 264.8 kB / 0.5591 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.372, allocations: 0.6675 MB / 0.5598 GB, free: 36.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.372, allocations: 0 / 0.5598 GB, free: 36.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.372, allocations: 0 / 0.5598 GB, free: 36.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.372, allocations: 0.9062 kB / 0.5598 GB, free: 36.89 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.001268/0.3733, allocations: 0.8356 MB / 0.5606 GB, free: 36.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3734, allocations: 10.16 kB / 0.5606 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.3734, allocations: 68.77 kB / 0.5607 GB, free: 36.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.3744, allocations: 173 kB / 0.5609 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.3748, allocations: 396.2 kB / 0.5612 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.936e-05/0.3749, allocations: 66.25 kB / 0.5613 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.375, allocations: 27.19 kB / 0.5613 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.3757, allocations: 382.9 kB / 0.5617 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3757, allocations: 3.375 kB / 0.5617 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.3757, allocations: 14.41 kB / 0.5617 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3757, allocations: 5.906 kB / 0.5617 GB, free: 35.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.3764, allocations: 332.5 kB / 0.562 GB, free: 35.93 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.002254/0.3786, allocations: 1.868 MB / 0.5638 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/0.3795, allocations: 0.8136 MB / 0.5646 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.3799, allocations: 185.1 kB / 0.5648 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.38, allocations: 16.2 kB / 0.5648 GB, free: 34.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.38, allocations: 31.59 kB / 0.5649 GB, free: 34.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.38, allocations: 0 / 0.5649 GB, free: 34.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004305/0.3843, allocations: 1.247 MB / 0.5661 GB, free: 34.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.3843, allocations: 55.47 kB / 0.5661 GB, free: 34.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.3847, allocations: 428.9 kB / 0.5665 GB, free: 34.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.3847, allocations: 32.17 kB / 0.5666 GB, free: 34.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.3849, allocations: 255.8 kB / 0.5668 GB, free: 33.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.3849, allocations: 91.53 kB / 0.5669 GB, free: 33.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3851, allocations: 63.05 kB / 0.567 GB, free: 33.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.3851, allocations: 360.5 kB / 0.5673 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003636/0.3855, allocations: 186.9 kB / 0.5675 GB, free: 33.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3859, allocations: 232.4 kB / 0.5677 GB, free: 33.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004432/0.3903, allocations: 1.287 MB / 0.569 GB, free: 33.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3903, allocations: 4 kB / 0.569 GB, free: 33.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002179/0.3925, allocations: 0.8463 MB / 0.5698 GB, free: 33.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.3926, allocations: 9.781 kB / 0.5698 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3926, allocations: 0 / 0.5698 GB, free: 33.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/0.3947, allocations: 0.5616 MB / 0.5704 GB, free: 33.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.3955, allocations: 143.9 kB / 0.5705 GB, free: 33.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.4019, allocations: 3.206 MB / 0.5736 GB, free: 31.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.4023, allocations: 44.34 kB / 0.5737 GB, free: 31.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.4023, allocations: 14.98 kB / 0.5737 GB, free: 31.96 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.0002211/0.4026, allocations: 178.5 kB / 0.5738 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.4026, allocations: 40.53 kB / 0.5739 GB, free: 31.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.4049, allocations: 0.7715 MB / 0.5746 GB, free: 31.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4049, allocations: 2.719 kB / 0.5746 GB, free: 31.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4049, allocations: 0 / 0.5746 GB, free: 31.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4049, allocations: 2.812 kB / 0.5746 GB, free: 31.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.4078, allocations: 1.486 MB / 0.5761 GB, free: 31.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.4078, allocations: 1.062 kB / 0.5761 GB, free: 31.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008728/0.4087, allocations: 129.3 kB / 0.5762 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002454/0.4112, allocations: 0.6205 MB / 0.5768 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.4112, allocations: 8.906 kB / 0.5768 GB, free: 31.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006121/0.4173, allocations: 3.188 MB / 0.5799 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4173, allocations: 3.938 kB / 0.58 GB, free: 29.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00263/0.42, allocations: 1.044 MB / 0.581 GB, free: 28.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4201, allocations: 119.3 kB / 0.5811 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.4202, allocations: 6.5 kB / 0.5811 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.4205, allocations: 22.89 kB / 0.5811 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.4207, allocations: 58.23 kB / 0.5812 GB, free: 28.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4207, allocations: 12.77 kB / 0.5812 GB, free: 28.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.421, allocations: 302.5 kB / 0.5815 GB, free: 28.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.421, allocations: 0 / 0.5815 GB, free: 28.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000575/0.4216, allocations: 137.8 kB / 0.5816 GB, free: 28.59 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.002719/0.4244, allocations: 1.511 MB / 0.5831 GB, free: 27.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.4272, allocations: 0.7675 MB / 0.5838 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4272, allocations: 0 / 0.5838 GB, free: 27.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.4295, allocations: 0.5733 MB / 0.5844 GB, free: 27.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.4299, allocations: 39.62 kB / 0.5844 GB, free: 27.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.4403, allocations: 4.865 MB / 0.5892 GB, free: 24.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4407, allocations: 0.8182 MB / 0.59 GB, free: 23.83 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.4409, allocations: 41.52 kB / 0.59 GB, free: 23.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4411, allocations: 147 kB / 0.5902 GB, free: 23.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.133e-06/0.4411, allocations: 0 / 0.5902 GB, free: 23.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.4843, allocations: 11.86 MB / 0.6017 GB, free: 22.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.44, allocations: 9.281 kB / 0.6017 GB, free: 22.3 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)