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.007817/0.007817, allocations: 96.09 kB / 15.73 MB, free: 6.043 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.361/1.361, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001359/0.001359, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4673/0.4673, allocations: 78.53 MB / 418.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 83.88 kB / 0.5531 GB, free: 1.516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3506, allocations: 68.16 MB / 0.6197 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00344/0.3541, allocations: 3.402 MB / 0.623 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3558, allocations: 1.052 MB / 0.624 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3559, allocations: 11.88 kB / 0.624 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.3562, allocations: 87.27 kB / 0.6241 GB, free: 5.641 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.000343/0.3566, allocations: 194.6 kB / 0.6243 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3571, allocations: 347 kB / 0.6246 GB, free: 5.109 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.3575, allocations: 0.607 MB / 0.6252 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3577, allocations: 148.9 kB / 0.6254 GB, free: 4.344 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.3579, allocations: 254.9 kB / 0.6256 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.3581, allocations: 266.8 kB / 0.6259 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3582, allocations: 52 kB / 0.6259 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3583, allocations: 104 kB / 0.626 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.3584, allocations: 119.5 kB / 0.6261 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3586, allocations: 270.5 kB / 0.6264 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.3591, allocations: 0.6662 MB / 0.627 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3591, allocations: 7.922 kB / 0.6271 GB, free: 2.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3591, allocations: 4 kB / 0.6271 GB, free: 2.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3591, allocations: 0 / 0.6271 GB, free: 2.621 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.001198/0.3603, allocations: 0.8561 MB / 0.6279 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.3603, allocations: 8.031 kB / 0.6279 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.3604, allocations: 62.72 kB / 0.628 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.3613, allocations: 176.5 kB / 0.6281 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.3618, allocations: 410.3 kB / 0.6285 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.3619, allocations: 58.48 kB / 0.6286 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.3619, allocations: 32 kB / 0.6286 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.3626, allocations: 385.9 kB / 0.629 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.3626, allocations: 0 / 0.629 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3627, allocations: 8 kB / 0.629 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3627, allocations: 8 kB / 0.629 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3633, allocations: 338.4 kB / 0.6293 GB, free: 212 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.002667/0.366, allocations: 1.868 MB / 0.6311 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.367, allocations: 0.8018 MB / 0.6319 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.3675, allocations: 196.7 kB / 0.6321 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.3676, allocations: 4 kB / 0.6321 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3676, allocations: 30.56 kB / 0.6321 GB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.3676, allocations: 0 / 0.6321 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004658/0.3723, allocations: 1.247 MB / 0.6334 GB, free: 11.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.3723, allocations: 59.39 kB / 0.6334 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.3728, allocations: 429.9 kB / 0.6338 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3728, allocations: 29.7 kB / 0.6339 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.373, allocations: 256.3 kB / 0.6341 GB, free: 10.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.848e-05/0.3731, allocations: 99.19 kB / 0.6342 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3732, allocations: 65.64 kB / 0.6343 GB, free: 10.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3734, allocations: 354.7 kB / 0.6346 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.3738, allocations: 188.2 kB / 0.6348 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3742, allocations: 225.1 kB / 0.635 GB, free: 10.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004764/0.379, allocations: 1.298 MB / 0.6363 GB, free: 8.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.379, allocations: 0 / 0.6363 GB, free: 8.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002388/0.3814, allocations: 0.8411 MB / 0.6371 GB, free: 7.863 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3814, allocations: 11.94 kB / 0.6371 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3815, allocations: 3.938 kB / 0.6371 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.3836, allocations: 0.5587 MB / 0.6376 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/0.3845, allocations: 139.8 kB / 0.6378 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007029/0.3915, allocations: 3.202 MB / 0.6409 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.392, allocations: 43.83 kB / 0.6409 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.392, allocations: 15.98 kB / 0.641 GB, free: 3.75 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.0002207/0.3922, allocations: 173.5 kB / 0.6411 GB, free: 3.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/0.3923, allocations: 47.7 kB / 0.6412 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.3948, allocations: 0.7793 MB / 0.6419 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3948, allocations: 4.125 kB / 0.6419 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3948, allocations: 4 kB / 0.6419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3948, allocations: 0 / 0.6419 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.398, allocations: 1.477 MB / 0.6434 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3981, allocations: 0 / 0.6434 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/0.399, allocations: 131.8 kB / 0.6435 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/0.4017, allocations: 0.6288 MB / 0.6441 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.4018, allocations: 15.98 kB / 0.6441 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007096/0.4089, allocations: 3.167 MB / 0.6472 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4089, allocations: 0 / 0.6472 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002999/0.4119, allocations: 1.05 MB / 0.6482 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.4121, allocations: 121.1 kB / 0.6484 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.4121, allocations: 4 kB / 0.6484 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.4125, allocations: 28.03 kB / 0.6484 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.4127, allocations: 63.8 kB / 0.6485 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.4127, allocations: 11.98 kB / 0.6485 GB, free: 11.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003291/0.413, allocations: 299.1 kB / 0.6488 GB, free: 11.49 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.413, allocations: 0 / 0.6488 GB, free: 11.49 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.4135, allocations: 131.8 kB / 0.6489 GB, free: 11.36 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.002867/0.4164, allocations: 1.518 MB / 0.6504 GB, free: 9.816 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002809/0.4192, allocations: 0.7603 MB / 0.6511 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4193, allocations: 4.062 kB / 0.6511 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.4216, allocations: 0.5761 MB / 0.6517 GB, free: 8.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4221, allocations: 43.77 kB / 0.6517 GB, free: 8.406 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.4322, allocations: 4.808 MB / 0.6564 GB, free: 3.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.4326, allocations: 0.8233 MB / 0.6572 GB, free: 2.645 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.4328, allocations: 26.97 kB / 0.6572 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.433, allocations: 155.4 kB / 0.6574 GB, free: 2.465 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.433, allocations: 0 / 0.6574 GB, free: 2.465 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.4697, allocations: 12.08 MB / 0.6692 GB, free: 6.523 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.29, allocations: 18 kB / 0.6692 GB, free: 6.512 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)