Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_dev_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.0008792/0.0008791, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.48/1.48, allocations: 223.2 MB / 239 MB, free: 5.441 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.001283/0.001283, allocations: 172.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5657/0.5657, allocations: 79.47 MB / 420.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003673, allocations: 12 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4753, allocations: 69.51 MB / 0.5571 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00383/0.4792, allocations: 3.068 MB / 0.5601 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.4812, allocations: 1.012 MB / 0.5611 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.4814, allocations: 4.156 kB / 0.5611 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.4817, allocations: 80.22 kB / 0.5612 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.4821, allocations: 151.2 kB / 0.5613 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.4828, allocations: 259.6 kB / 0.5615 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.4833, allocations: 0.5489 MB / 0.5621 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000303/0.4836, allocations: 125.5 kB / 0.5622 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.4839, allocations: 212.7 kB / 0.5624 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.4842, allocations: 229.9 kB / 0.5626 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.4843, allocations: 25.56 kB / 0.5626 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.4845, allocations: 68.44 kB / 0.5627 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.4846, allocations: 85.77 kB / 0.5628 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4847, allocations: 114.4 kB / 0.5629 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.4853, allocations: 0.5 MB / 0.5634 GB, free: 36.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.4853, allocations: 2.031 kB / 0.5634 GB, free: 36.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4853, allocations: 1.5 kB / 0.5634 GB, free: 36.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.4853, allocations: 0 / 0.5634 GB, free: 36.79 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.001376/0.4867, allocations: 0.7706 MB / 0.5641 GB, free: 36.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4868, allocations: 9.188 kB / 0.5642 GB, free: 36.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.867e-05/0.4869, allocations: 68.34 kB / 0.5642 GB, free: 36.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009247/0.4878, allocations: 171 kB / 0.5644 GB, free: 36.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.4883, allocations: 382.2 kB / 0.5647 GB, free: 35.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4885, allocations: 62.98 kB / 0.5648 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.4885, allocations: 24.91 kB / 0.5648 GB, free: 35.92 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008264/0.4894, allocations: 402 kB / 0.5652 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4894, allocations: 3.953 kB / 0.5652 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.4894, allocations: 11.05 kB / 0.5652 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4895, allocations: 8.688 kB / 0.5652 GB, free: 35.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.4901, allocations: 346 kB / 0.5656 GB, free: 35.87 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.002665/0.4928, allocations: 1.878 MB / 0.5674 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.4938, allocations: 0.8353 MB / 0.5682 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004226/0.4942, allocations: 213.1 kB / 0.5684 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.4942, allocations: 3.125 kB / 0.5684 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4943, allocations: 39 kB / 0.5685 GB, free: 34.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.532e-06/0.4943, allocations: 0 / 0.5685 GB, free: 34.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004281/0.4986, allocations: 1.405 MB / 0.5698 GB, free: 34.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4986, allocations: 54.09 kB / 0.5699 GB, free: 34.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.4991, allocations: 435.2 kB / 0.5703 GB, free: 34.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.4991, allocations: 29.39 kB / 0.5703 GB, free: 34.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.4993, allocations: 260 kB / 0.5706 GB, free: 33.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.4994, allocations: 85.97 kB / 0.5707 GB, free: 33.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4994, allocations: 7.5 kB / 0.5707 GB, free: 33.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.389e-05/0.4995, allocations: 352.3 kB / 0.571 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.4999, allocations: 205.8 kB / 0.5712 GB, free: 33.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.5003, allocations: 243.7 kB / 0.5714 GB, free: 33.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.5007, allocations: 208.8 kB / 0.5716 GB, free: 33.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5007, allocations: 0 / 0.5716 GB, free: 33.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002373/0.5031, allocations: 0.9429 MB / 0.5726 GB, free: 33.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.5031, allocations: 2.781 kB / 0.5726 GB, free: 33.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5031, allocations: 2.969 kB / 0.5726 GB, free: 33.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5053, allocations: 0.6499 MB / 0.5732 GB, free: 33.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.5061, allocations: 179.4 kB / 0.5734 GB, free: 33.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006765/0.5129, allocations: 3.154 MB / 0.5764 GB, free: 31.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005257/0.5135, allocations: 56.69 kB / 0.5765 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.5135, allocations: 11.8 kB / 0.5765 GB, free: 31.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000309/0.5138, allocations: 165.5 kB / 0.5767 GB, free: 31.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.5139, allocations: 48.11 kB / 0.5767 GB, free: 31.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.5163, allocations: 0.8723 MB / 0.5776 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5164, allocations: 8.156 kB / 0.5776 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5164, allocations: 1.25 kB / 0.5776 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5164, allocations: 0 / 0.5776 GB, free: 31.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.5194, allocations: 1.586 MB / 0.5791 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5194, allocations: 0 / 0.5791 GB, free: 30.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.5202, allocations: 157.1 kB / 0.5793 GB, free: 30.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.5225, allocations: 0.7314 MB / 0.58 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.5226, allocations: 10.5 kB / 0.58 GB, free: 30.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005674/0.5283, allocations: 3.125 MB / 0.583 GB, free: 28.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5283, allocations: 3.953 kB / 0.5831 GB, free: 28.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.531, allocations: 1.169 MB / 0.5842 GB, free: 28.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.5312, allocations: 130 kB / 0.5843 GB, free: 27.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.5313, allocations: 6.375 kB / 0.5843 GB, free: 27.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.5316, allocations: 32.78 kB / 0.5844 GB, free: 27.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5318, allocations: 70.69 kB / 0.5844 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.5318, allocations: 8.594 kB / 0.5844 GB, free: 27.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.5322, allocations: 295.5 kB / 0.5847 GB, free: 27.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5322, allocations: 0 / 0.5847 GB, free: 27.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000634/0.5328, allocations: 130.9 kB / 0.5848 GB, free: 27.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00275/0.5356, allocations: 1.601 MB / 0.5864 GB, free: 26.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.5382, allocations: 0.8121 MB / 0.5872 GB, free: 26.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5382, allocations: 0 / 0.5872 GB, free: 26.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.5403, allocations: 0.6171 MB / 0.5878 GB, free: 26.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.5408, allocations: 33.41 kB / 0.5878 GB, free: 26.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.5483, allocations: 3.25 MB / 0.591 GB, free: 24.78 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.5486, allocations: 0.8193 MB / 0.5918 GB, free: 24.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.5488, allocations: 35.42 kB / 0.5918 GB, free: 24.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.549, allocations: 156.2 kB / 0.592 GB, free: 23.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.549, allocations: 0 / 0.592 GB, free: 23.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.5777, allocations: 10.77 MB / 0.6025 GB, free: 23.2 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.5779, allocations: 216.7 kB / 0.6027 GB, free: 22.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.625, allocations: 0 / 0.6027 GB, free: 22.96 MB / 430.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: