Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2601/0.2601, allocations: 12.6 MB / 28.23 MB, free: 1.066 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 115.4 kB / 31.84 MB, free: 4.008 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.335/3.335, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003291/0.003292, allocations: 184.5 kB / 290.7 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 1.089/1.089, allocations: 78.52 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005963/0.005964, allocations: 139.2 kB / 0.5553 GB, free: 28.95 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2984, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.01093/0.3094, allocations: 3.437 MB / 0.6252 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004718/0.3143, allocations: 1.025 MB / 0.6262 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008416/0.3152, allocations: 4 kB / 0.6262 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.3162, allocations: 103.2 kB / 0.6263 GB, free: 11.36 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001596/0.3178, allocations: 158.6 kB / 0.6265 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001755/0.3196, allocations: 362.9 kB / 0.6268 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.3212, allocations: 0.6031 MB / 0.6274 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.3219, allocations: 151.7 kB / 0.6276 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.323, allocations: 243.1 kB / 0.6278 GB, free: 9.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.3239, allocations: 270.7 kB / 0.6281 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002642/0.3242, allocations: 56 kB / 0.6281 GB, free: 9.523 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006641/0.3249, allocations: 104 kB / 0.6282 GB, free: 9.422 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002789/0.3252, allocations: 119.5 kB / 0.6283 GB, free: 9.305 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007196/0.3259, allocations: 266.6 kB / 0.6286 GB, free: 9.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3278, allocations: 0.6788 MB / 0.6292 GB, free: 8.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3278, allocations: 0 / 0.6292 GB, free: 8.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3278, allocations: 0 / 0.6292 GB, free: 8.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.3279, allocations: 0 / 0.6292 GB, free: 8.363 MB / 446.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.003602/0.3315, allocations: 0.8293 MB / 0.6301 GB, free: 7.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.002e-05/0.3316, allocations: 11.98 kB / 0.6301 GB, free: 7.473 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/0.3318, allocations: 70.72 kB / 0.6301 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.3341, allocations: 168.2 kB / 0.6303 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.3356, allocations: 409.8 kB / 0.6307 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.3359, allocations: 62.47 kB / 0.6307 GB, free: 6.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.336, allocations: 31.98 kB / 0.6308 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.3378, allocations: 381.9 kB / 0.6311 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.3378, allocations: 0 / 0.6311 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.17e-05/0.3379, allocations: 12 kB / 0.6311 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3379, allocations: 8 kB / 0.6312 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.3394, allocations: 334.4 kB / 0.6315 GB, free: 5.965 MB / 446.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.006115/0.3456, allocations: 1.852 MB / 0.6333 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.3479, allocations: 0.8094 MB / 0.6341 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009841/0.3489, allocations: 188.8 kB / 0.6343 GB, free: 2.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.729e-05/0.349, allocations: 4 kB / 0.6343 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.256e-05/0.3491, allocations: 38.56 kB / 0.6343 GB, free: 2.809 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 8.486e-06/0.3491, allocations: 0 / 0.6343 GB, free: 2.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.009574/0.3587, allocations: 1.252 MB / 0.6355 GB, free: 1.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3589, allocations: 51.41 kB / 0.6356 GB, free: 1.465 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3601, allocations: 433.9 kB / 0.636 GB, free: 1.035 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.3602, allocations: 33.7 kB / 0.636 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.3606, allocations: 252 kB / 0.6363 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.3608, allocations: 86.75 kB / 0.6363 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/0.3611, allocations: 65.59 kB / 0.6364 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002568/0.3614, allocations: 358.7 kB / 0.6367 GB, free: 236 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007428/0.3621, allocations: 184.2 kB / 0.6369 GB, free: 48 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/0.3631, allocations: 229 kB / 0.6371 GB, free: 15.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.3732, allocations: 1.298 MB / 0.6384 GB, free: 14.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.3733, allocations: 0 / 0.6384 GB, free: 14.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.004974/0.3783, allocations: 0.8446 MB / 0.6392 GB, free: 13.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.944e-05/0.3785, allocations: 7.938 kB / 0.6392 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3785, allocations: 12 kB / 0.6392 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/0.3831, allocations: 0.5547 MB / 0.6398 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.3848, allocations: 143.8 kB / 0.6399 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/0.3995, allocations: 3.195 MB / 0.643 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009785/0.4006, allocations: 43.72 kB / 0.6431 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4008, allocations: 16.41 kB / 0.6431 GB, free: 9.527 MB / 462.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.0006243/0.4014, allocations: 182.3 kB / 0.6433 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.4018, allocations: 43.44 kB / 0.6433 GB, free: 9.305 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005094/0.4069, allocations: 0.7708 MB / 0.6441 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.407, allocations: 4 kB / 0.6441 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.407, allocations: 0 / 0.6441 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.407, allocations: 3.984 kB / 0.6441 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/0.4141, allocations: 1.483 MB / 0.6455 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4142, allocations: 0 / 0.6455 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.416, allocations: 119.8 kB / 0.6456 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005394/0.4214, allocations: 0.6249 MB / 0.6463 GB, free: 6.215 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.4216, allocations: 11.98 kB / 0.6463 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.4359, allocations: 3.171 MB / 0.6494 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.436, allocations: 0 / 0.6494 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006299/0.4423, allocations: 1.05 MB / 0.6504 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.4427, allocations: 128.4 kB / 0.6505 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.4429, allocations: 8 kB / 0.6505 GB, free: 1.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.4438, allocations: 23.97 kB / 0.6505 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/0.4442, allocations: 63.91 kB / 0.6506 GB, free: 1.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.4442, allocations: 8 kB / 0.6506 GB, free: 1.566 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007595/0.445, allocations: 303.1 kB / 0.6509 GB, free: 1.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.445, allocations: 0 / 0.6509 GB, free: 1.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001271/0.4463, allocations: 131.8 kB / 0.651 GB, free: 1.145 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.005857/0.4522, allocations: 1.513 MB / 0.6525 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005567/0.4578, allocations: 0.7595 MB / 0.6532 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.4579, allocations: 0 / 0.6532 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003808/0.4617, allocations: 0.5847 MB / 0.6538 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009822/0.4628, allocations: 37.91 kB / 0.6538 GB, free: 14.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.4805, allocations: 4.777 MB / 0.6585 GB, free: 9.305 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/0.4815, allocations: 0.8155 MB / 0.6593 GB, free: 8.465 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.4818, allocations: 42.94 kB / 0.6593 GB, free: 8.426 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.4822, allocations: 147.4 kB / 0.6595 GB, free: 8.281 MB / 478.1 MB Notification: Performance of SimCode: time 2.795e-06/0.4823, allocations: 0 / 0.6595 GB, free: 8.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1979/0.6802, allocations: 12.44 MB / 0.6716 GB, free: 11.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.55/27.23, allocations: 4 kB / 0.6716 GB, free: 11.91 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)