Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005328/0.005328, allocations: 167.8 kB / 15.13 MB, free: 6.02 MB / 13.93 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: 223.3 MB / 239.1 MB, free: 1.719 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008966, allocations: 96.97 kB / 290.3 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4691/0.4691, allocations: 78.62 MB / 420 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003849, allocations: 8 kB / 500 MB, free: 2.844 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3599, allocations: 69.34 MB / 0.556 GB, free: 38.43 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003055/0.363, allocations: 3.051 MB / 0.559 GB, free: 38.23 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.3651, allocations: 1.01 MB / 0.5599 GB, free: 38.11 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.3654, allocations: 8.625 kB / 0.56 GB, free: 38.11 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3657, allocations: 77.53 kB / 0.56 GB, free: 38.08 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.000443/0.3662, allocations: 156.2 kB / 0.5602 GB, free: 38.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.3668, allocations: 273.9 kB / 0.5604 GB, free: 37.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.3675, allocations: 0.5427 MB / 0.561 GB, free: 37.81 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.3677, allocations: 124.2 kB / 0.5611 GB, free: 37.79 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.368, allocations: 207.6 kB / 0.5613 GB, free: 37.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.3683, allocations: 230.5 kB / 0.5615 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.3684, allocations: 26.38 kB / 0.5615 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3686, allocations: 66.61 kB / 0.5616 GB, free: 37.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.3687, allocations: 85.98 kB / 0.5617 GB, free: 37.64 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.3688, allocations: 112.5 kB / 0.5618 GB, free: 37.59 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.3694, allocations: 0.5052 MB / 0.5623 GB, free: 37.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3694, allocations: 0 / 0.5623 GB, free: 37.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3694, allocations: 1.688 kB / 0.5623 GB, free: 37.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.3694, allocations: 0 / 0.5623 GB, free: 37.52 MB / 426.7 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.001358/0.3708, allocations: 0.7639 MB / 0.563 GB, free: 36.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3708, allocations: 9.703 kB / 0.563 GB, free: 36.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.435e-05/0.3709, allocations: 66.22 kB / 0.5631 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.3719, allocations: 171.1 kB / 0.5633 GB, free: 36.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005787/0.3725, allocations: 382.2 kB / 0.5636 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.3727, allocations: 64.72 kB / 0.5637 GB, free: 36.63 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.3727, allocations: 27.97 kB / 0.5637 GB, free: 36.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.3737, allocations: 404.9 kB / 0.5641 GB, free: 36.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.3737, allocations: 5.297 kB / 0.5641 GB, free: 36.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.3738, allocations: 9.312 kB / 0.5641 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3738, allocations: 7.531 kB / 0.5641 GB, free: 36.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.3745, allocations: 347.6 kB / 0.5645 GB, free: 36.43 MB / 426.7 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.002678/0.3772, allocations: 1.865 MB / 0.5663 GB, free: 35.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009868/0.3782, allocations: 0.8504 MB / 0.5671 GB, free: 34.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.3787, allocations: 199.3 kB / 0.5673 GB, free: 34.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3788, allocations: 3.312 kB / 0.5673 GB, free: 34.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.3788, allocations: 39.09 kB / 0.5673 GB, free: 34.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.465e-06/0.3788, allocations: 1.188 kB / 0.5673 GB, free: 34.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.004965/0.3838, allocations: 1.41 MB / 0.5687 GB, free: 33.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3838, allocations: 53.97 kB / 0.5688 GB, free: 33.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.3843, allocations: 430.8 kB / 0.5692 GB, free: 33.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3844, allocations: 32.58 kB / 0.5692 GB, free: 33.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3845, allocations: 263.4 kB / 0.5695 GB, free: 33.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.3846, allocations: 84.19 kB / 0.5695 GB, free: 33.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.3846, allocations: 7.938 kB / 0.5695 GB, free: 33.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.3847, allocations: 354.6 kB / 0.5699 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.3851, allocations: 202.2 kB / 0.5701 GB, free: 32.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004223/0.3855, allocations: 250.9 kB / 0.5703 GB, free: 32.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/0.386, allocations: 208.2 kB / 0.5705 GB, free: 32.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.386, allocations: 0 / 0.5705 GB, free: 32.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002387/0.3884, allocations: 0.9462 MB / 0.5714 GB, free: 32.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3884, allocations: 5.5 kB / 0.5714 GB, free: 32.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3884, allocations: 0 / 0.5714 GB, free: 32.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/0.3907, allocations: 0.6484 MB / 0.5721 GB, free: 32.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.3916, allocations: 174.1 kB / 0.5722 GB, free: 32.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.3979, allocations: 3.162 MB / 0.5753 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.3984, allocations: 52.28 kB / 0.5754 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.3985, allocations: 15.23 kB / 0.5754 GB, free: 30.24 MB / 426.7 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.0002535/0.3987, allocations: 164.8 kB / 0.5756 GB, free: 30.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.3988, allocations: 49.92 kB / 0.5756 GB, free: 30.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.4013, allocations: 0.8661 MB / 0.5764 GB, free: 29.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4013, allocations: 6.859 kB / 0.5765 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4013, allocations: 3.328 kB / 0.5765 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4013, allocations: 4 kB / 0.5765 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/0.4044, allocations: 1.577 MB / 0.578 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4044, allocations: 0 / 0.578 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/0.4054, allocations: 157.1 kB / 0.5781 GB, free: 29.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.4081, allocations: 0.7189 MB / 0.5788 GB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.4081, allocations: 14.11 kB / 0.5789 GB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006129/0.4143, allocations: 3.139 MB / 0.5819 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4143, allocations: 3.953 kB / 0.5819 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.4171, allocations: 1.162 MB / 0.5831 GB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.4173, allocations: 136.2 kB / 0.5832 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.4174, allocations: 6.625 kB / 0.5832 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.4178, allocations: 33.14 kB / 0.5832 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4179, allocations: 55.2 kB / 0.5833 GB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.4179, allocations: 12.53 kB / 0.5833 GB, free: 26.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002892/0.4182, allocations: 301 kB / 0.5836 GB, free: 26.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4183, allocations: 0 / 0.5836 GB, free: 26.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.4188, allocations: 124.9 kB / 0.5837 GB, free: 26.15 MB / 426.7 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.00269/0.4215, allocations: 1.605 MB / 0.5853 GB, free: 25.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.4242, allocations: 0.8097 MB / 0.5861 GB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4242, allocations: 256 / 0.5861 GB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.4265, allocations: 0.6173 MB / 0.5867 GB, free: 24.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.427, allocations: 33.67 kB / 0.5867 GB, free: 24.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.4342, allocations: 3.263 MB / 0.5899 GB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4345, allocations: 0.8181 MB / 0.5907 GB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.4346, allocations: 38.7 kB / 0.5907 GB, free: 22.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.4348, allocations: 143.2 kB / 0.5909 GB, free: 22.27 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.4348, allocations: 0 / 0.5909 GB, free: 22.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.4601, allocations: 10.75 MB / 0.6014 GB, free: 21.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/0.4603, allocations: 226.3 kB / 0.6016 GB, free: 21.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.541, allocations: 0 / 0.6016 GB, free: 21.11 MB / 426.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)