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.09328/0.09328, allocations: 12.59 MB / 28.22 MB, free: 0.7344 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.001253/0.001253, allocations: 107.4 kB / 31.83 MB, free: 3.879 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.44/1.44, 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.001691/0.00169, allocations: 188.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4475/0.4475, allocations: 78.51 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.002602/0.002602, allocations: 143 kB / 0.5553 GB, free: 28.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.15, allocations: 68.14 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.004975/0.155, allocations: 3.429 MB / 0.6252 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1574, allocations: 1.022 MB / 0.6262 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004678/0.1579, allocations: 4 kB / 0.6262 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.1583, allocations: 99.17 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.0006511/0.159, allocations: 190.7 kB / 0.6265 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.1598, allocations: 354.8 kB / 0.6268 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006291/0.1605, allocations: 0.6031 MB / 0.6274 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.1608, allocations: 149.2 kB / 0.6276 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002916/0.1611, allocations: 255 kB / 0.6278 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.1614, allocations: 270.8 kB / 0.6281 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.1615, allocations: 52 kB / 0.6281 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1617, allocations: 111.9 kB / 0.6282 GB, free: 9.383 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1618, allocations: 115.5 kB / 0.6283 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.162, allocations: 266.6 kB / 0.6286 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007355/0.1628, allocations: 0.6731 MB / 0.6293 GB, free: 8.332 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1628, allocations: 0 / 0.6293 GB, free: 8.332 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1628, allocations: 0 / 0.6293 GB, free: 8.332 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1628, allocations: 0 / 0.6293 GB, free: 8.332 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.001485/0.1643, allocations: 0.8484 MB / 0.6301 GB, free: 7.434 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1644, allocations: 11.98 kB / 0.6301 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.147e-05/0.1645, allocations: 74.66 kB / 0.6302 GB, free: 7.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.1655, allocations: 172.4 kB / 0.6303 GB, free: 7.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.1661, allocations: 406.3 kB / 0.6307 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.1662, allocations: 62.47 kB / 0.6308 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.561e-05/0.1663, allocations: 31.94 kB / 0.6308 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008097/0.1671, allocations: 381.9 kB / 0.6312 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1672, allocations: 4 kB / 0.6312 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.735e-05/0.1672, allocations: 12 kB / 0.6312 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1672, allocations: 8 kB / 0.6312 GB, free: 6.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007164/0.1679, allocations: 334.4 kB / 0.6315 GB, free: 5.906 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.002726/0.1707, allocations: 1.849 MB / 0.6333 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.1718, allocations: 0.8094 MB / 0.6341 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.1723, allocations: 188.8 kB / 0.6343 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1723, allocations: 11.97 kB / 0.6343 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1723, allocations: 38.56 kB / 0.6343 GB, free: 2.746 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.524e-06/0.1724, allocations: 4 kB / 0.6343 GB, free: 2.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.004769/0.1771, allocations: 1.248 MB / 0.6356 GB, free: 1.465 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.1772, allocations: 51.41 kB / 0.6356 GB, free: 1.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.1777, allocations: 429.9 kB / 0.636 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1777, allocations: 29.7 kB / 0.6361 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.1779, allocations: 272.2 kB / 0.6363 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.574e-05/0.178, allocations: 91.22 kB / 0.6364 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1781, allocations: 57.69 kB / 0.6365 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1783, allocations: 362.7 kB / 0.6368 GB, free: 160 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.1787, allocations: 180.2 kB / 0.637 GB, free: 15.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.1792, allocations: 232.9 kB / 0.6372 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004854/0.184, allocations: 1.295 MB / 0.6385 GB, free: 14.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1841, allocations: 0 / 0.6385 GB, free: 14.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00254/0.1866, allocations: 0.8449 MB / 0.6393 GB, free: 13.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1867, allocations: 7.938 kB / 0.6393 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1867, allocations: 0 / 0.6393 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.189, allocations: 0.5665 MB / 0.6398 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.1899, allocations: 143.8 kB / 0.64 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.1974, allocations: 3.2 MB / 0.6431 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.198, allocations: 47.81 kB / 0.6432 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.1981, allocations: 12 kB / 0.6432 GB, free: 9.453 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.0003455/0.1984, allocations: 182.4 kB / 0.6433 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.1986, allocations: 43.72 kB / 0.6434 GB, free: 9.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.2011, allocations: 0.7708 MB / 0.6441 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2012, allocations: 0 / 0.6441 GB, free: 8.449 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2012, allocations: 4 kB / 0.6441 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2012, allocations: 3.984 kB / 0.6441 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.2046, allocations: 1.479 MB / 0.6456 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2046, allocations: 0 / 0.6456 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.2056, allocations: 127.7 kB / 0.6457 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.2083, allocations: 0.6291 MB / 0.6463 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.2084, allocations: 11.98 kB / 0.6463 GB, free: 6.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007368/0.2158, allocations: 3.175 MB / 0.6494 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2158, allocations: 0 / 0.6494 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.2189, allocations: 1.05 MB / 0.6505 GB, free: 1.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.2192, allocations: 124.8 kB / 0.6506 GB, free: 1.586 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2193, allocations: 8 kB / 0.6506 GB, free: 1.578 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.2197, allocations: 23.97 kB / 0.6506 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.2199, allocations: 55.91 kB / 0.6507 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.22, allocations: 8 kB / 0.6507 GB, free: 1.492 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004181/0.2204, allocations: 303.1 kB / 0.651 GB, free: 1.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.564e-06/0.2204, allocations: 64 / 0.651 GB, free: 1.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000623/0.221, allocations: 143.8 kB / 0.6511 GB, free: 1.059 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.003054/0.2241, allocations: 1.509 MB / 0.6526 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002949/0.227, allocations: 0.779 MB / 0.6533 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2271, allocations: 3.938 kB / 0.6533 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.2295, allocations: 0.5652 MB / 0.6539 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.23, allocations: 37.91 kB / 0.6539 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.2414, allocations: 4.803 MB / 0.6586 GB, free: 9.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.2419, allocations: 0.8233 MB / 0.6594 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.2421, allocations: 38.95 kB / 0.6595 GB, free: 8.309 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.2423, allocations: 147.4 kB / 0.6596 GB, free: 8.164 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.2424, allocations: 0 / 0.6596 GB, free: 8.164 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.2839, allocations: 12.09 MB / 0.6714 GB, free: 12.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.22, allocations: 3.125 kB / 0.6714 GB, free: 12.14 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)