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.007154/0.007154, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.557/1.557, allocations: 222.9 MB / 239.4 MB, free: 4.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.002061/0.002061, allocations: 184.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5702/0.5702, allocations: 78.53 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 83.86 kB / 0.5531 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4295, allocations: 68.17 MB / 0.6197 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00408/0.4336, allocations: 3.397 MB / 0.623 GB, free: 6.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.436, allocations: 1.056 MB / 0.624 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.4363, allocations: 4 kB / 0.624 GB, free: 5.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.4367, allocations: 91.2 kB / 0.6241 GB, free: 5.645 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.0004584/0.4372, allocations: 166.7 kB / 0.6243 GB, free: 5.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.4379, allocations: 354.9 kB / 0.6246 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.4384, allocations: 0.6031 MB / 0.6252 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.4387, allocations: 152.9 kB / 0.6254 GB, free: 4.367 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002859/0.439, allocations: 250.9 kB / 0.6256 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.4393, allocations: 270.8 kB / 0.6259 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.4394, allocations: 63.92 kB / 0.6259 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.4396, allocations: 104 kB / 0.626 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.4396, allocations: 119.5 kB / 0.6261 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.4398, allocations: 262.6 kB / 0.6264 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.4405, allocations: 0.6701 MB / 0.627 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4405, allocations: 0 / 0.627 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4405, allocations: 0 / 0.627 GB, free: 2.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4405, allocations: 0 / 0.627 GB, free: 2.648 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.00133/0.4419, allocations: 0.8617 MB / 0.6279 GB, free: 1.738 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4419, allocations: 15.97 kB / 0.6279 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.442, allocations: 62.73 kB / 0.628 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009525/0.4429, allocations: 172.5 kB / 0.6281 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.4435, allocations: 402.4 kB / 0.6285 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.4436, allocations: 66.47 kB / 0.6286 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.4437, allocations: 31.94 kB / 0.6286 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.4444, allocations: 381.9 kB / 0.629 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4444, allocations: 0 / 0.629 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.4445, allocations: 12 kB / 0.629 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.4445, allocations: 8 kB / 0.629 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.4451, allocations: 334.5 kB / 0.6293 GB, free: 236 kB / 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.003024/0.4481, allocations: 1.86 MB / 0.6311 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.4494, allocations: 0.8148 MB / 0.6319 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.4499, allocations: 192.8 kB / 0.6321 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.65e-05/0.4499, allocations: 0 / 0.6321 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.45, allocations: 42.56 kB / 0.6321 GB, free: 13.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.373e-06/0.45, allocations: 0 / 0.6321 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.005092/0.4551, allocations: 1.25 MB / 0.6334 GB, free: 11.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.4552, allocations: 55.34 kB / 0.6334 GB, free: 11.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.4558, allocations: 429.9 kB / 0.6338 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/0.4558, allocations: 33.7 kB / 0.6338 GB, free: 11.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.4561, allocations: 256.3 kB / 0.6341 GB, free: 11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4562, allocations: 95.2 kB / 0.6342 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.4563, allocations: 69.62 kB / 0.6343 GB, free: 10.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4565, allocations: 354.7 kB / 0.6346 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.457, allocations: 184.2 kB / 0.6348 GB, free: 10.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.4575, allocations: 229.1 kB / 0.635 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005098/0.4626, allocations: 1.279 MB / 0.6362 GB, free: 8.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4626, allocations: 0 / 0.6362 GB, free: 8.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002715/0.4654, allocations: 0.8528 MB / 0.6371 GB, free: 7.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.4654, allocations: 11.88 kB / 0.6371 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.4654, allocations: 4 kB / 0.6371 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.4678, allocations: 0.5547 MB / 0.6376 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.4688, allocations: 143.8 kB / 0.6378 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008249/0.477, allocations: 3.203 MB / 0.6409 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005154/0.4776, allocations: 43.81 kB / 0.6409 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.4777, allocations: 19.98 kB / 0.6409 GB, free: 3.766 MB / 446.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.0003933/0.4781, allocations: 174 kB / 0.6411 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.4782, allocations: 43.72 kB / 0.6412 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.4811, allocations: 0.7755 MB / 0.6419 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4811, allocations: 4 kB / 0.6419 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4811, allocations: 0 / 0.6419 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4811, allocations: 0 / 0.6419 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.4849, allocations: 1.473 MB / 0.6434 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.485, allocations: 3.938 kB / 0.6434 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/0.486, allocations: 123.8 kB / 0.6435 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.4889, allocations: 0.629 MB / 0.6441 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.489, allocations: 11.98 kB / 0.6441 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/0.4971, allocations: 3.172 MB / 0.6472 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4972, allocations: 3.938 kB / 0.6472 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.5005, allocations: 1.05 MB / 0.6482 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5008, allocations: 120.8 kB / 0.6483 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.5009, allocations: 8 kB / 0.6484 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.5013, allocations: 27.98 kB / 0.6484 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.5015, allocations: 55.91 kB / 0.6484 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.5015, allocations: 19.92 kB / 0.6484 GB, free: 11.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004177/0.502, allocations: 295.1 kB / 0.6487 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.502, allocations: 4 kB / 0.6487 GB, free: 11.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000652/0.5026, allocations: 135.8 kB / 0.6489 GB, free: 11.38 MB / 462.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.003412/0.5061, allocations: 1.506 MB / 0.6503 GB, free: 9.848 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003198/0.5093, allocations: 0.7642 MB / 0.6511 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.5093, allocations: 8.062 kB / 0.6511 GB, free: 9.062 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.5118, allocations: 0.5722 MB / 0.6516 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.5123, allocations: 41 kB / 0.6517 GB, free: 8.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.5246, allocations: 4.817 MB / 0.6564 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.5252, allocations: 0.8155 MB / 0.6572 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.5253, allocations: 34.95 kB / 0.6572 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.5256, allocations: 151.4 kB / 0.6574 GB, free: 2.488 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5256, allocations: 0 / 0.6574 GB, free: 2.488 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.5741, allocations: 12.07 MB / 0.6692 GB, free: 6.559 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.59, allocations: 20.25 kB / 0.6692 GB, free: 6.539 MB / 478.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 & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)