Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005197/0.005197, allocations: 169.8 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 239 MB, free: 56 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.000911, allocations: 89.31 kB / 290.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4686/0.4686, allocations: 78.59 MB / 419.9 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 12 kB / 499.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 69.37 MB / 0.5559 GB, free: 1.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003071/0.1458, allocations: 2.893 MB / 0.5587 GB, free: 14.82 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1475, allocations: 1.033 MB / 0.5597 GB, free: 13.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1477, allocations: 4 kB / 0.5597 GB, free: 13.79 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.148, allocations: 79.42 kB / 0.5598 GB, free: 13.71 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.0003645/0.1484, allocations: 179.4 kB / 0.56 GB, free: 13.53 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005801/0.1489, allocations: 251.2 kB / 0.5602 GB, free: 13.29 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003893/0.1493, allocations: 395.2 kB / 0.5606 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1496, allocations: 115.4 kB / 0.5607 GB, free: 12.78 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1498, allocations: 215.2 kB / 0.5609 GB, free: 12.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.1501, allocations: 227 kB / 0.5611 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.1501, allocations: 28 kB / 0.5611 GB, free: 12.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1503, allocations: 71.8 kB / 0.5612 GB, free: 12.25 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.1504, allocations: 87.64 kB / 0.5613 GB, free: 12.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.468e-05/0.1505, allocations: 109.5 kB / 0.5614 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004472/0.1509, allocations: 0.4911 MB / 0.5619 GB, free: 11.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1509, allocations: 0 / 0.5619 GB, free: 11.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.151, allocations: 4 kB / 0.5619 GB, free: 11.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.151, allocations: 0 / 0.5619 GB, free: 11.55 MB / 442.7 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.001316/0.1523, allocations: 0.7579 MB / 0.5626 GB, free: 10.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1523, allocations: 8.031 kB / 0.5626 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.15e-05/0.1524, allocations: 66.55 kB / 0.5627 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.1534, allocations: 171.1 kB / 0.5629 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.1539, allocations: 385.1 kB / 0.5632 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.154, allocations: 62.34 kB / 0.5633 GB, free: 10.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/0.1541, allocations: 28 kB / 0.5633 GB, free: 9.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008131/0.1549, allocations: 397.9 kB / 0.5637 GB, free: 9.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1549, allocations: 3.953 kB / 0.5637 GB, free: 9.586 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.155, allocations: 12 kB / 0.5637 GB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.155, allocations: 8 kB / 0.5637 GB, free: 9.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/0.1557, allocations: 346.5 kB / 0.564 GB, free: 9.23 MB / 442.7 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.002857/0.1586, allocations: 2.069 MB / 0.5661 GB, free: 6.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.1596, allocations: 0.8498 MB / 0.5669 GB, free: 6.004 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1597, allocations: 4.406 kB / 0.5669 GB, free: 6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1597, allocations: 34.55 kB / 0.5669 GB, free: 5.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/0.1597, allocations: 0 / 0.5669 GB, free: 5.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.004792/0.1645, allocations: 1.407 MB / 0.5683 GB, free: 4.523 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1645, allocations: 55.41 kB / 0.5684 GB, free: 4.457 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.165, allocations: 437.8 kB / 0.5688 GB, free: 4.023 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1651, allocations: 29.7 kB / 0.5688 GB, free: 3.988 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1653, allocations: 260 kB / 0.569 GB, free: 3.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.1653, allocations: 82.75 kB / 0.5691 GB, free: 3.648 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.1654, allocations: 8 kB / 0.5691 GB, free: 3.641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1655, allocations: 350.8 kB / 0.5695 GB, free: 3.289 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004204/0.1659, allocations: 204.2 kB / 0.5697 GB, free: 3.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.1664, allocations: 248.8 kB / 0.5699 GB, free: 2.824 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.1668, allocations: 201.1 kB / 0.5701 GB, free: 2.629 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1668, allocations: 0 / 0.5701 GB, free: 2.629 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002422/0.1692, allocations: 0.9461 MB / 0.571 GB, free: 1.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1693, allocations: 11.94 kB / 0.571 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1693, allocations: 0 / 0.571 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002331/0.1716, allocations: 0.6485 MB / 0.5717 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008618/0.1725, allocations: 179.8 kB / 0.5718 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2657/0.4382, allocations: 3.236 MB / 0.575 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004776/0.4387, allocations: 52.86 kB / 0.575 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.4388, allocations: 17.28 kB / 0.5751 GB, free: 44.09 MB / 442.7 MB Warning: Assuming fixed start value for the following 2 variables: phaseShiftingTransformer.phaseShifter.alpha:VARIABLE(start = phaseShiftingTransformer.phaseShifter.alpha0 unit = "rad" fixed = true ) "Shifting angle" type: Real phaseShiftingTransformer.phaseShifter.pmes:VARIABLE(start = phaseShiftingTransformer.phaseShifter.pmes0 unit = "1" fixed = true ) "Measured power flow" 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.439, allocations: 163.7 kB / 0.5752 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.4391, allocations: 42.19 kB / 0.5753 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.4416, allocations: 0.8741 MB / 0.5761 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4416, allocations: 5.219 kB / 0.5761 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4416, allocations: 0 / 0.5761 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4416, allocations: 2.266 kB / 0.5761 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.4448, allocations: 1.634 MB / 0.5777 GB, free: 43.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4448, allocations: 0 / 0.5777 GB, free: 43.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/0.4458, allocations: 159.4 kB / 0.5779 GB, free: 43.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/0.4484, allocations: 0.7349 MB / 0.5786 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/0.4485, allocations: 10.47 kB / 0.5786 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006406/0.4549, allocations: 3.22 MB / 0.5817 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4549, allocations: 2.062 kB / 0.5817 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002971/0.4579, allocations: 1.164 MB / 0.5829 GB, free: 41.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.4581, allocations: 124.8 kB / 0.583 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.4581, allocations: 10.22 kB / 0.583 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.4585, allocations: 29.09 kB / 0.583 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4586, allocations: 59.28 kB / 0.5831 GB, free: 41.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.4586, allocations: 17.05 kB / 0.5831 GB, free: 41.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000357/0.459, allocations: 298.6 kB / 0.5834 GB, free: 41.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/0.459, allocations: 0 / 0.5834 GB, free: 41.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005736/0.4596, allocations: 129.2 kB / 0.5835 GB, free: 41.77 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002913/0.4625, allocations: 1.602 MB / 0.5851 GB, free: 41.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.4653, allocations: 0.8175 MB / 0.5859 GB, free: 40.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4653, allocations: 4.5 kB / 0.5859 GB, free: 40.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.4677, allocations: 0.6081 MB / 0.5865 GB, free: 40.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.468, allocations: 31.16 kB / 0.5865 GB, free: 40.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007754/0.4758, allocations: 3.857 MB / 0.5903 GB, free: 39.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4761, allocations: 0.8334 MB / 0.5911 GB, free: 38.45 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.4763, allocations: 36.39 kB / 0.5911 GB, free: 38.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.4765, allocations: 149.7 kB / 0.5913 GB, free: 38.44 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4765, allocations: 1.125 kB / 0.5913 GB, free: 38.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.5014, allocations: 10.73 MB / 0.6017 GB, free: 37.73 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.5016, allocations: 221.2 kB / 0.6019 GB, free: 37.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.186/2.688, allocations: 2.625 kB / 0.602 GB, free: 37.5 MB / 442.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Branches_PSAT_PhaseShiftingTransformer_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)