Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_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.001074/0.001075, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.597/1.597, allocations: 223.2 MB / 239 MB, free: 5.621 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.001454/0.001454, allocations: 184.5 kB / 290.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5711/0.5711, allocations: 78.55 MB / 419.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004354, allocations: 8 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1908, allocations: 69.35 MB / 0.5559 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.3915/0.5824, allocations: 3.057 MB / 0.5589 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.5842, allocations: 1.008 MB / 0.5599 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.5844, allocations: 4.344 kB / 0.5599 GB, free: 37.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.5847, allocations: 80.86 kB / 0.5599 GB, free: 37.58 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0003512/0.585, allocations: 149.1 kB / 0.5601 GB, free: 37.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005802/0.5856, allocations: 262.1 kB / 0.5603 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.5861, allocations: 0.5469 MB / 0.5609 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.5864, allocations: 117.2 kB / 0.561 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.5867, allocations: 210 kB / 0.5612 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.587, allocations: 230.1 kB / 0.5614 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.587, allocations: 25.94 kB / 0.5614 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.5872, allocations: 69.69 kB / 0.5615 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.5873, allocations: 94 kB / 0.5616 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.5874, allocations: 109.2 kB / 0.5617 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005125/0.5879, allocations: 0.501 MB / 0.5622 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.5879, allocations: 0 / 0.5622 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5879, allocations: 0 / 0.5622 GB, free: 37.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.588, allocations: 0 / 0.5622 GB, free: 37.11 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.001154/0.5891, allocations: 0.7663 MB / 0.5629 GB, free: 36.58 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5892, allocations: 8.531 kB / 0.5629 GB, free: 36.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/0.5892, allocations: 65.58 kB / 0.563 GB, free: 36.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.5901, allocations: 169.5 kB / 0.5632 GB, free: 36.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.5906, allocations: 389.5 kB / 0.5635 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.5907, allocations: 62.95 kB / 0.5636 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.749e-05/0.5908, allocations: 25.69 kB / 0.5636 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.5916, allocations: 400 kB / 0.564 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.5916, allocations: 3.328 kB / 0.564 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.5916, allocations: 19.12 kB / 0.564 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5917, allocations: 5.5 kB / 0.564 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.5923, allocations: 349.7 kB / 0.5644 GB, free: 36.18 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.002463/0.5948, allocations: 1.865 MB / 0.5662 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008956/0.5957, allocations: 0.8409 MB / 0.567 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004182/0.5961, allocations: 205.4 kB / 0.5672 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.5962, allocations: 7.234 kB / 0.5672 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5962, allocations: 35.72 kB / 0.5672 GB, free: 34.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/0.5962, allocations: 1.688 kB / 0.5672 GB, free: 34.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004269/0.6005, allocations: 1.409 MB / 0.5686 GB, free: 34.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.6006, allocations: 54.22 kB / 0.5687 GB, free: 34.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.601, allocations: 431.6 kB / 0.5691 GB, free: 34.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.6011, allocations: 32.05 kB / 0.5691 GB, free: 34.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.6012, allocations: 253.3 kB / 0.5693 GB, free: 34.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.6013, allocations: 88.91 kB / 0.5694 GB, free: 34.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.6013, allocations: 4.562 kB / 0.5694 GB, free: 34.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.797e-05/0.6014, allocations: 355 kB / 0.5698 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.6018, allocations: 200.3 kB / 0.57 GB, free: 33.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.6022, allocations: 243.5 kB / 0.5702 GB, free: 33.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.6026, allocations: 213.9 kB / 0.5704 GB, free: 33.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6026, allocations: 0 / 0.5704 GB, free: 33.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00216/0.6048, allocations: 0.9327 MB / 0.5713 GB, free: 33.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.6048, allocations: 13.28 kB / 0.5713 GB, free: 33.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6049, allocations: 4 kB / 0.5713 GB, free: 33.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.607, allocations: 0.6521 MB / 0.572 GB, free: 33.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.6078, allocations: 174.6 kB / 0.5721 GB, free: 33.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.614, allocations: 3.152 MB / 0.5752 GB, free: 32.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.6144, allocations: 62.59 kB / 0.5753 GB, free: 32.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.6144, allocations: 13.41 kB / 0.5753 GB, free: 32.29 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.000222/0.6147, allocations: 160.6 kB / 0.5754 GB, free: 32.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.6148, allocations: 48.39 kB / 0.5755 GB, free: 32.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.617, allocations: 0.8723 MB / 0.5763 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.617, allocations: 2.625 kB / 0.5763 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.617, allocations: 0 / 0.5763 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.617, allocations: 3.75 kB / 0.5763 GB, free: 32.06 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.6201, allocations: 1.583 MB / 0.5779 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6201, allocations: 2.156 kB / 0.5779 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.6209, allocations: 156.7 kB / 0.578 GB, free: 31.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/0.6233, allocations: 0.7312 MB / 0.5788 GB, free: 31.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.6234, allocations: 16.83 kB / 0.5788 GB, free: 31.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/0.6292, allocations: 3.125 MB / 0.5818 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6292, allocations: 0 / 0.5818 GB, free: 29.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.6319, allocations: 1.168 MB / 0.583 GB, free: 29.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.632, allocations: 131.1 kB / 0.5831 GB, free: 28.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.6321, allocations: 6.312 kB / 0.5831 GB, free: 28.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.6324, allocations: 29.61 kB / 0.5831 GB, free: 28.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.6326, allocations: 63.31 kB / 0.5832 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.6326, allocations: 9.875 kB / 0.5832 GB, free: 28.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003968/0.633, allocations: 300.2 kB / 0.5835 GB, free: 28.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.353e-06/0.6331, allocations: 0 / 0.5835 GB, free: 28.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008014/0.6339, allocations: 129.8 kB / 0.5836 GB, free: 28.79 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.002785/0.6367, allocations: 1.601 MB / 0.5852 GB, free: 27.84 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002649/0.6393, allocations: 0.8116 MB / 0.586 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6393, allocations: 0 / 0.586 GB, free: 27.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002119/0.6415, allocations: 0.6236 MB / 0.5866 GB, free: 27.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.6419, allocations: 31.81 kB / 0.5866 GB, free: 27.28 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/0.6493, allocations: 3.257 MB / 0.5898 GB, free: 25.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.6497, allocations: 0.8198 MB / 0.5906 GB, free: 25.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.6499, allocations: 37.17 kB / 0.5906 GB, free: 25.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.6501, allocations: 146 kB / 0.5908 GB, free: 24.94 MB / 430.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6501, allocations: 1.594 kB / 0.5908 GB, free: 24.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.6813, allocations: 10.75 MB / 0.6012 GB, free: 24.2 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.6815, allocations: 219.4 kB / 0.6015 GB, free: 23.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.751, allocations: 0 / 0.6015 GB, free: 23.96 MB / 430.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1) Environment - environmentSimulation: