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.001101/0.001101, allocations: 91.77 kB / 15.36 MB, free: 0.7344 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.514/1.514, allocations: 223.3 MB / 239.4 MB, free: 5.535 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.001476/0.001476, allocations: 164.6 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6213/0.6213, allocations: 91.92 MB / 433.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004649, allocations: 12 kB / 0.5049 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.482, allocations: 72.46 MB / 0.5756 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003095/0.4851, allocations: 3.23 MB / 0.5788 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.487, allocations: 1.067 MB / 0.5798 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.4872, allocations: 9.156 kB / 0.5798 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4875, allocations: 72.75 kB / 0.5799 GB, free: 34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.4878, allocations: 144.3 kB / 0.5801 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.4885, allocations: 321.4 kB / 0.5804 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.4889, allocations: 0.571 MB / 0.5809 GB, free: 33.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.4892, allocations: 138.5 kB / 0.581 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.4894, allocations: 215.4 kB / 0.5813 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.4897, allocations: 240.5 kB / 0.5815 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-05/0.4898, allocations: 26.25 kB / 0.5815 GB, free: 33.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.4899, allocations: 75.33 kB / 0.5816 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.49, allocations: 87.84 kB / 0.5817 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.4902, allocations: 266.9 kB / 0.5819 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.4907, allocations: 0.6241 MB / 0.5825 GB, free: 32.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4907, allocations: 3.938 kB / 0.5825 GB, free: 32.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4907, allocations: 0 / 0.5825 GB, free: 32.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.4907, allocations: 0 / 0.5825 GB, free: 32.66 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.001269/0.492, allocations: 0.7651 MB / 0.5833 GB, free: 32.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4921, allocations: 8.625 kB / 0.5833 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.198e-05/0.4922, allocations: 68.47 kB / 0.5834 GB, free: 32.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.4932, allocations: 175.7 kB / 0.5835 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.4936, allocations: 399.9 kB / 0.5839 GB, free: 31.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.4938, allocations: 66.58 kB / 0.584 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.4938, allocations: 27.53 kB / 0.584 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008154/0.4947, allocations: 395.5 kB / 0.5844 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4947, allocations: 2.219 kB / 0.5844 GB, free: 31.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.4947, allocations: 18.47 kB / 0.5844 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4947, allocations: 8.094 kB / 0.5844 GB, free: 31.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.4954, allocations: 350.5 kB / 0.5847 GB, free: 31.34 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.002497/0.4979, allocations: 1.864 MB / 0.5866 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009409/0.4989, allocations: 0.8533 MB / 0.5874 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004426/0.4994, allocations: 199.4 kB / 0.5876 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.4994, allocations: 6.578 kB / 0.5876 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.4994, allocations: 44.58 kB / 0.5876 GB, free: 29.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.4994, allocations: 0 / 0.5876 GB, free: 29.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.00478/0.5042, allocations: 1.41 MB / 0.589 GB, free: 28.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.5043, allocations: 55.16 kB / 0.5891 GB, free: 28.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.5048, allocations: 430.9 kB / 0.5895 GB, free: 28.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5048, allocations: 26.86 kB / 0.5895 GB, free: 28.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.505, allocations: 258.4 kB / 0.5897 GB, free: 28.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.5051, allocations: 91.83 kB / 0.5898 GB, free: 28.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.865e-05/0.5051, allocations: 38.12 kB / 0.5899 GB, free: 28.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.5052, allocations: 353.8 kB / 0.5902 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.5057, allocations: 203 kB / 0.5904 GB, free: 27.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.5062, allocations: 251.4 kB / 0.5906 GB, free: 27.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005142/0.5113, allocations: 1.421 MB / 0.592 GB, free: 27.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5113, allocations: 1.188 kB / 0.592 GB, free: 27.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002689/0.514, allocations: 0.9399 MB / 0.5929 GB, free: 26.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.5141, allocations: 11.09 kB / 0.5929 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5141, allocations: 4.172 kB / 0.593 GB, free: 26.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/0.5165, allocations: 0.6574 MB / 0.5936 GB, free: 26.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/0.5175, allocations: 173 kB / 0.5938 GB, free: 26.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007364/0.5249, allocations: 3.159 MB / 0.5968 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/0.5255, allocations: 58.44 kB / 0.5969 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.5256, allocations: 16.67 kB / 0.5969 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.0003195/0.5259, allocations: 168.7 kB / 0.5971 GB, free: 24.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.526, allocations: 43.5 kB / 0.5971 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.5288, allocations: 0.8704 MB / 0.598 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.5288, allocations: 7.156 kB / 0.598 GB, free: 24.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5288, allocations: 7.875 kB / 0.598 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.5288, allocations: 2.422 kB / 0.598 GB, free: 24.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.5326, allocations: 1.578 MB / 0.5995 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.5326, allocations: 1.969 kB / 0.5995 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.5337, allocations: 154.3 kB / 0.5997 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.5369, allocations: 0.7269 MB / 0.6004 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.537, allocations: 14.03 kB / 0.6004 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007244/0.5442, allocations: 3.133 MB / 0.6035 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.5443, allocations: 0 / 0.6035 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.5477, allocations: 1.173 MB / 0.6046 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.548, allocations: 128.1 kB / 0.6047 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.5481, allocations: 6.953 kB / 0.6047 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004242/0.5485, allocations: 31.92 kB / 0.6048 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.5487, allocations: 62.41 kB / 0.6048 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.5488, allocations: 8.203 kB / 0.6048 GB, free: 20.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005057/0.5493, allocations: 304.8 kB / 0.6051 GB, free: 20.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5493, allocations: 0 / 0.6051 GB, free: 20.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.55, allocations: 133.8 kB / 0.6052 GB, free: 20.73 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.003297/0.5533, allocations: 1.607 MB / 0.6068 GB, free: 19.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.5564, allocations: 0.8156 MB / 0.6076 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5565, allocations: 1.375 kB / 0.6076 GB, free: 19.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.559, allocations: 0.6164 MB / 0.6082 GB, free: 19.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005642/0.5596, allocations: 35.89 kB / 0.6083 GB, free: 19.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.5724, allocations: 5.249 MB / 0.6134 GB, free: 16.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/0.573, allocations: 0.8176 MB / 0.6142 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.5732, allocations: 36.97 kB / 0.6142 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5734, allocations: 146.1 kB / 0.6144 GB, free: 15.55 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5734, allocations: 1 kB / 0.6144 GB, free: 15.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.6091, allocations: 10.91 MB / 0.625 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.6094, allocations: 243.2 kB / 0.6252 GB, free: 10.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.829, allocations: 0 / 0.6252 GB, free: 10.17 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)