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.001157/0.001157, 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.398/1.398, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001398/0.001398, allocations: 195.5 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5341/0.5341, allocations: 91.91 MB / 431.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 76.16 kB / 0.502 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3648, allocations: 71.26 MB / 0.5716 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003442/0.3683, allocations: 3.409 MB / 0.5749 GB, free: 34.84 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3698, allocations: 1.068 MB / 0.5759 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.37, allocations: 2.625 kB / 0.5759 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.3703, allocations: 94.8 kB / 0.576 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.3706, allocations: 171.1 kB / 0.5762 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.3712, allocations: 350.5 kB / 0.5765 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.3716, allocations: 0.5993 MB / 0.5771 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.3718, allocations: 161.7 kB / 0.5773 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3721, allocations: 257.2 kB / 0.5775 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002509/0.3723, allocations: 271.3 kB / 0.5778 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.243e-05/0.3724, allocations: 55.41 kB / 0.5778 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3726, allocations: 98.53 kB / 0.5779 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.622e-05/0.3727, allocations: 121.1 kB / 0.578 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.3728, allocations: 266.1 kB / 0.5783 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004814/0.3733, allocations: 0.6678 MB / 0.5789 GB, free: 32.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3733, allocations: 2.062 kB / 0.5789 GB, free: 32.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3733, allocations: 1.625 kB / 0.5789 GB, free: 32.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.3734, allocations: 0 / 0.5789 GB, free: 32.81 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.001281/0.3746, allocations: 0.8382 MB / 0.5798 GB, free: 32.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3747, allocations: 9.594 kB / 0.5798 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.189e-05/0.3748, allocations: 61.77 kB / 0.5798 GB, free: 32.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.3757, allocations: 174.1 kB / 0.58 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.3761, allocations: 400.5 kB / 0.5804 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.3762, allocations: 62.16 kB / 0.5804 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.556e-05/0.3763, allocations: 32.75 kB / 0.5805 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.377, allocations: 382.1 kB / 0.5808 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.377, allocations: 1.875 kB / 0.5808 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.377, allocations: 10.72 kB / 0.5808 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.377, allocations: 9.625 kB / 0.5808 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006222/0.3777, allocations: 334.9 kB / 0.5812 GB, free: 31.43 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.002244/0.3799, allocations: 1.872 MB / 0.583 GB, free: 30.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008557/0.3808, allocations: 0.8183 MB / 0.5838 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003917/0.3812, allocations: 185 kB / 0.584 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.3812, allocations: 6.219 kB / 0.584 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3812, allocations: 36.22 kB / 0.584 GB, free: 29.29 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.3812, allocations: 0 / 0.584 GB, free: 29.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004334/0.3856, allocations: 1.242 MB / 0.5852 GB, free: 28.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3856, allocations: 57.59 kB / 0.5853 GB, free: 28.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.386, allocations: 430.6 kB / 0.5857 GB, free: 28.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3861, allocations: 32.23 kB / 0.5857 GB, free: 28.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.3862, allocations: 259.3 kB / 0.586 GB, free: 28.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.3863, allocations: 88.06 kB / 0.5861 GB, free: 28.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3864, allocations: 69.39 kB / 0.5861 GB, free: 28.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.3865, allocations: 356.4 kB / 0.5865 GB, free: 27.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.3868, allocations: 186.3 kB / 0.5866 GB, free: 27.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.3872, allocations: 229 kB / 0.5869 GB, free: 27.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/0.3918, allocations: 1.294 MB / 0.5881 GB, free: 27.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3918, allocations: 1.281 kB / 0.5881 GB, free: 27.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00232/0.3941, allocations: 0.8413 MB / 0.5889 GB, free: 27.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3942, allocations: 9.688 kB / 0.589 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.3942, allocations: 3.844 kB / 0.589 GB, free: 27.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/0.3962, allocations: 0.5573 MB / 0.5895 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.3971, allocations: 140.2 kB / 0.5896 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.4038, allocations: 3.21 MB / 0.5928 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4043, allocations: 49.3 kB / 0.5928 GB, free: 24.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.4044, allocations: 11.77 kB / 0.5928 GB, free: 24.83 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.0002477/0.4046, allocations: 175.9 kB / 0.593 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.4047, allocations: 44.78 kB / 0.593 GB, free: 24.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.407, allocations: 0.7724 MB / 0.5938 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4071, allocations: 2.281 kB / 0.5938 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4071, allocations: 0 / 0.5938 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4071, allocations: 4.25 kB / 0.5938 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.4101, allocations: 1.472 MB / 0.5952 GB, free: 23.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4101, allocations: 1.156 kB / 0.5952 GB, free: 23.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008856/0.411, allocations: 121.8 kB / 0.5954 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/0.4137, allocations: 0.6397 MB / 0.596 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.4138, allocations: 10.45 kB / 0.596 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006671/0.4204, allocations: 3.177 MB / 0.5991 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4205, allocations: 5.094 kB / 0.5991 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/0.4235, allocations: 1.055 MB / 0.6001 GB, free: 20.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.4236, allocations: 117.8 kB / 0.6002 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.4237, allocations: 8.828 kB / 0.6002 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.4241, allocations: 23.97 kB / 0.6003 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.4243, allocations: 63.39 kB / 0.6003 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4244, allocations: 7.766 kB / 0.6003 GB, free: 20.81 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004206/0.4248, allocations: 300.2 kB / 0.6006 GB, free: 20.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4248, allocations: 0 / 0.6006 GB, free: 20.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.4255, allocations: 133.5 kB / 0.6007 GB, free: 20.64 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.002868/0.4283, allocations: 1.511 MB / 0.6022 GB, free: 19.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002868/0.4312, allocations: 0.7692 MB / 0.603 GB, free: 19.38 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4312, allocations: 1.344 kB / 0.603 GB, free: 19.38 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.4336, allocations: 0.5789 MB / 0.6035 GB, free: 19.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.4341, allocations: 41 kB / 0.6036 GB, free: 19.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.4446, allocations: 4.86 MB / 0.6083 GB, free: 16.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.445, allocations: 0.8178 MB / 0.6091 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000146/0.4452, allocations: 35.66 kB / 0.6092 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4454, allocations: 153.3 kB / 0.6093 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4454, allocations: 0 / 0.6093 GB, free: 15.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.4807, allocations: 11.88 MB / 0.6209 GB, free: 11.33 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.24, allocations: 5.891 kB / 0.6209 GB, free: 11.33 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 OpenIPSL_dev_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)