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.1278/0.1278, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001537/0.001537, allocations: 111.4 kB / 31.84 MB, free: 3.902 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001657/0.001657, allocations: 183.3 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4431/0.4431, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002598/0.002598, allocations: 138.9 kB / 0.5553 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1443, allocations: 68.14 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.005039/0.1494, allocations: 3.426 MB / 0.6252 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1519, allocations: 1.029 MB / 0.6262 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004721/0.1524, allocations: 7.938 kB / 0.6262 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1529, allocations: 95.27 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.0007982/0.1537, allocations: 190.6 kB / 0.6265 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.1546, allocations: 350.9 kB / 0.6268 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007291/0.1554, allocations: 0.6031 MB / 0.6274 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.1557, allocations: 157.2 kB / 0.6276 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.156, allocations: 251 kB / 0.6278 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.1563, allocations: 266.8 kB / 0.6281 GB, free: 9.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-05/0.1564, allocations: 56 kB / 0.6281 GB, free: 9.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.1566, allocations: 108 kB / 0.6282 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1567, allocations: 115.5 kB / 0.6283 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002357/0.157, allocations: 270.5 kB / 0.6286 GB, free: 9.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.1577, allocations: 0.6731 MB / 0.6293 GB, free: 8.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1577, allocations: 0 / 0.6293 GB, free: 8.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1577, allocations: 0 / 0.6293 GB, free: 8.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1577, allocations: 4 kB / 0.6293 GB, free: 8.336 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.001459/0.1592, allocations: 0.8406 MB / 0.6301 GB, free: 7.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1593, allocations: 11.98 kB / 0.6301 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.695e-05/0.1594, allocations: 74.72 kB / 0.6302 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.1604, allocations: 176.4 kB / 0.6303 GB, free: 7.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006105/0.161, allocations: 406.3 kB / 0.6307 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1611, allocations: 62.47 kB / 0.6308 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.1612, allocations: 28 kB / 0.6308 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.162, allocations: 381.9 kB / 0.6312 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.162, allocations: 0 / 0.6312 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.1621, allocations: 16 kB / 0.6312 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.1621, allocations: 8 kB / 0.6312 GB, free: 6.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.1628, allocations: 334.4 kB / 0.6315 GB, free: 5.918 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.002774/0.1656, allocations: 1.841 MB / 0.6333 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1667, allocations: 0.8211 MB / 0.6341 GB, free: 3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004774/0.1672, allocations: 192.7 kB / 0.6343 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.1672, allocations: 3.938 kB / 0.6343 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.1673, allocations: 42.56 kB / 0.6343 GB, free: 2.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.1673, allocations: 0 / 0.6343 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004811/0.1721, allocations: 1.248 MB / 0.6356 GB, free: 1.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1722, allocations: 51.41 kB / 0.6356 GB, free: 1.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.1727, allocations: 433.9 kB / 0.636 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.1727, allocations: 29.7 kB / 0.6361 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.1729, allocations: 264.3 kB / 0.6363 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.173, allocations: 95.2 kB / 0.6364 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1732, allocations: 61.69 kB / 0.6365 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1734, allocations: 358.7 kB / 0.6368 GB, free: 172 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.1738, allocations: 180.3 kB / 0.637 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004596/0.1743, allocations: 232.9 kB / 0.6372 GB, free: 15.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.1791, allocations: 1.291 MB / 0.6385 GB, free: 14.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1791, allocations: 0 / 0.6385 GB, free: 14.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002507/0.1816, allocations: 0.8526 MB / 0.6393 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.1817, allocations: 7.938 kB / 0.6393 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1817, allocations: 4 kB / 0.6393 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002285/0.184, allocations: 0.5626 MB / 0.6398 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008391/0.1848, allocations: 139.8 kB / 0.64 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007435/0.1923, allocations: 3.203 MB / 0.6431 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.1929, allocations: 47.81 kB / 0.6432 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.282e-05/0.1929, allocations: 12 kB / 0.6432 GB, free: 9.461 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.0003243/0.1933, allocations: 178.5 kB / 0.6433 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1934, allocations: 43.72 kB / 0.6434 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.196, allocations: 0.7708 MB / 0.6441 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.196, allocations: 4 kB / 0.6441 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.196, allocations: 0 / 0.6441 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.196, allocations: 3.984 kB / 0.6441 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.1994, allocations: 1.483 MB / 0.6456 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1994, allocations: 0 / 0.6456 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/0.2003, allocations: 119.8 kB / 0.6457 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/0.2031, allocations: 0.6327 MB / 0.6463 GB, free: 6.145 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.2031, allocations: 11.98 kB / 0.6463 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007068/0.2102, allocations: 3.187 MB / 0.6494 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2102, allocations: 0 / 0.6494 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.2133, allocations: 1.047 MB / 0.6505 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.2135, allocations: 124.8 kB / 0.6506 GB, free: 1.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.2136, allocations: 12 kB / 0.6506 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.214, allocations: 19.97 kB / 0.6506 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.2142, allocations: 55.92 kB / 0.6507 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.2142, allocations: 7.984 kB / 0.6507 GB, free: 1.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.2146, allocations: 299.1 kB / 0.651 GB, free: 1.207 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2146, allocations: 4.062 kB / 0.651 GB, free: 1.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006031/0.2152, allocations: 135.8 kB / 0.6511 GB, free: 1.07 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.002988/0.2182, allocations: 1.513 MB / 0.6526 GB, free: 15.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002862/0.2211, allocations: 0.7635 MB / 0.6533 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.2211, allocations: 4 kB / 0.6533 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.2234, allocations: 0.569 MB / 0.6539 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2239, allocations: 41.91 kB / 0.6539 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.2349, allocations: 4.811 MB / 0.6586 GB, free: 9.199 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.2356, allocations: 0.8155 MB / 0.6594 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.2358, allocations: 34.97 kB / 0.6594 GB, free: 8.328 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.236, allocations: 159.3 kB / 0.6596 GB, free: 8.172 MB / 478.1 MB Notification: Performance of SimCode: time 2.024e-06/0.2361, allocations: 0 / 0.6596 GB, free: 8.172 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.2848, allocations: 12.1 MB / 0.6714 GB, free: 12.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.25, allocations: 0 / 0.6714 GB, free: 12.15 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)