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.001344/0.001344, 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.454/1.454, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001347/0.001347, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5367/0.5367, allocations: 91.89 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 76.2 kB / 0.5013 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3711, allocations: 71.27 MB / 0.5709 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003837/0.375, allocations: 3.621 MB / 0.5744 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.3769, allocations: 1.078 MB / 0.5755 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.3771, allocations: 2.625 kB / 0.5755 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3775, allocations: 79.39 kB / 0.5756 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.3779, allocations: 142.1 kB / 0.5757 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006546/0.3786, allocations: 335.1 kB / 0.576 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.379, allocations: 0.5679 MB / 0.5766 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.3793, allocations: 140.4 kB / 0.5767 GB, free: 33.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3795, allocations: 225.2 kB / 0.5769 GB, free: 33.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3798, allocations: 257.3 kB / 0.5772 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.3798, allocations: 30.28 kB / 0.5772 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.38, allocations: 73.33 kB / 0.5773 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.3801, allocations: 101.6 kB / 0.5774 GB, free: 33.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.3803, allocations: 242.2 kB / 0.5776 GB, free: 32.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.3808, allocations: 0.6472 MB / 0.5782 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3808, allocations: 0 / 0.5782 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3808, allocations: 4.656 kB / 0.5782 GB, free: 32.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3808, allocations: 0 / 0.5782 GB, free: 32.68 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.001375/0.3822, allocations: 0.8364 MB / 0.5791 GB, free: 32.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3822, allocations: 14.81 kB / 0.5791 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.808e-05/0.3823, allocations: 66.38 kB / 0.5791 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000958/0.3833, allocations: 170.4 kB / 0.5793 GB, free: 31.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.3837, allocations: 397.3 kB / 0.5797 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.3839, allocations: 64.55 kB / 0.5797 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3839, allocations: 25.19 kB / 0.5798 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.3847, allocations: 384.4 kB / 0.5801 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3847, allocations: 0.9375 kB / 0.5801 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3847, allocations: 10.94 kB / 0.5801 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3847, allocations: 10.25 kB / 0.5802 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.3854, allocations: 336.6 kB / 0.5805 GB, free: 31.3 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.002414/0.3878, allocations: 1.868 MB / 0.5823 GB, free: 30 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.3887, allocations: 0.8232 MB / 0.5831 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004035/0.3891, allocations: 185.5 kB / 0.5833 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.3892, allocations: 2.719 kB / 0.5833 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.3892, allocations: 37.03 kB / 0.5833 GB, free: 29.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.3892, allocations: 0 / 0.5833 GB, free: 29.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004461/0.3937, allocations: 1.242 MB / 0.5845 GB, free: 28.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.3937, allocations: 54.72 kB / 0.5846 GB, free: 28.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.3942, allocations: 433 kB / 0.585 GB, free: 28.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.3942, allocations: 29.7 kB / 0.585 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3944, allocations: 261.1 kB / 0.5853 GB, free: 28.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.36e-05/0.3944, allocations: 84.61 kB / 0.5854 GB, free: 28.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3946, allocations: 71.02 kB / 0.5854 GB, free: 28.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.3947, allocations: 362.9 kB / 0.5858 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.395, allocations: 181 kB / 0.5859 GB, free: 27.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.3955, allocations: 235.8 kB / 0.5862 GB, free: 27.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/0.4003, allocations: 1.293 MB / 0.5874 GB, free: 27.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4003, allocations: 1.312 kB / 0.5874 GB, free: 27.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002407/0.4028, allocations: 0.8346 MB / 0.5882 GB, free: 26.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4028, allocations: 14.59 kB / 0.5883 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4028, allocations: 3.25 kB / 0.5883 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/0.4051, allocations: 0.5558 MB / 0.5888 GB, free: 26.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/0.406, allocations: 137.9 kB / 0.5889 GB, free: 26.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.4126, allocations: 2.988 MB / 0.5919 GB, free: 24.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.4132, allocations: 45.47 kB / 0.5919 GB, free: 24.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.4132, allocations: 15.48 kB / 0.5919 GB, free: 24.87 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.0002747/0.4135, allocations: 173.1 kB / 0.5921 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.745e-05/0.4136, allocations: 44.12 kB / 0.5921 GB, free: 24.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.4159, allocations: 0.7663 MB / 0.5929 GB, free: 24.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.416, allocations: 6 kB / 0.5929 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.416, allocations: 0 / 0.5929 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.416, allocations: 8.328 kB / 0.5929 GB, free: 24.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002965/0.4189, allocations: 1.467 MB / 0.5943 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.419, allocations: 1.25 kB / 0.5943 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009275/0.4199, allocations: 118.7 kB / 0.5944 GB, free: 23.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002578/0.4225, allocations: 0.637 MB / 0.595 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.4226, allocations: 14.77 kB / 0.5951 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006346/0.4289, allocations: 2.953 MB / 0.5979 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.429, allocations: 0 / 0.5979 GB, free: 21.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.4318, allocations: 1.055 MB / 0.599 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.432, allocations: 117.2 kB / 0.5991 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.4321, allocations: 7.844 kB / 0.5991 GB, free: 21.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.4325, allocations: 33.08 kB / 0.5991 GB, free: 21.03 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.4327, allocations: 57.98 kB / 0.5992 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.4327, allocations: 7.781 kB / 0.5992 GB, free: 21.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003401/0.433, allocations: 299.7 kB / 0.5995 GB, free: 20.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.433, allocations: 0 / 0.5995 GB, free: 20.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005512/0.4336, allocations: 134.1 kB / 0.5996 GB, free: 20.85 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.002794/0.4364, allocations: 1.511 MB / 0.6011 GB, free: 19.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002739/0.4392, allocations: 0.7606 MB / 0.6018 GB, free: 19.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4392, allocations: 0 / 0.6018 GB, free: 19.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.4415, allocations: 0.5674 MB / 0.6024 GB, free: 19.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.442, allocations: 31.91 kB / 0.6024 GB, free: 19.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.4527, allocations: 5.008 MB / 0.6073 GB, free: 16.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.453, allocations: 0.8164 MB / 0.6081 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.4532, allocations: 36.59 kB / 0.6081 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4534, allocations: 147.8 kB / 0.6083 GB, free: 15.74 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4534, allocations: 1.344 kB / 0.6083 GB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02672/0.4801, allocations: 11.12 MB / 0.6191 GB, free: 12.44 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/0.4803, allocations: 238.2 kB / 0.6194 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/2.556, allocations: 5.969 kB / 0.6194 GB, free: 12.18 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/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)