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/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/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/package.mo): time 0.09536/0.09536, allocations: 12.2 MB / 27.15 MB, free: 0.9297 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.0009264/0.0009265, allocations: 102.2 kB / 30.66 MB, free: 4.871 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.297/1.297, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001172/0.001172, allocations: 177.1 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4107/0.4107, allocations: 78.5 MB / 420.1 MB, free: 6.59 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.0008266/0.0008266, allocations: 30.62 kB / 0.4895 GB, free: 37.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1224, allocations: 69.24 MB / 0.5571 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003051/0.1255, allocations: 2.945 MB / 0.56 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.127, allocations: 0.9953 MB / 0.561 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1272, allocations: 7.938 kB / 0.561 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.1274, allocations: 79.44 kB / 0.561 GB, free: 4.684 MB / 382.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.0003354/0.1278, allocations: 171.4 kB / 0.5612 GB, free: 4.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1283, allocations: 267.2 kB / 0.5615 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1287, allocations: 387.2 kB / 0.5618 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1289, allocations: 119.5 kB / 0.5619 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1291, allocations: 211.2 kB / 0.5621 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.1294, allocations: 227 kB / 0.5624 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.1295, allocations: 27.98 kB / 0.5624 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1296, allocations: 67.92 kB / 0.5624 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.812e-05/0.1297, allocations: 87.58 kB / 0.5625 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.1298, allocations: 109.5 kB / 0.5626 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004309/0.1302, allocations: 0.4911 MB / 0.5631 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1302, allocations: 0 / 0.5631 GB, free: 2.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1303, allocations: 0 / 0.5631 GB, free: 2.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1303, allocations: 0 / 0.5631 GB, free: 2.543 MB / 382.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.001282/0.1316, allocations: 0.7592 MB / 0.5639 GB, free: 1.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1316, allocations: 15.98 kB / 0.5639 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.736e-05/0.1317, allocations: 66.53 kB / 0.5639 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/0.1326, allocations: 171.2 kB / 0.5641 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.1331, allocations: 377 kB / 0.5645 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1332, allocations: 70.34 kB / 0.5645 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1333, allocations: 24 kB / 0.5645 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008172/0.1341, allocations: 397.9 kB / 0.5649 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1341, allocations: 0 / 0.5649 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.1342, allocations: 19.98 kB / 0.5649 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1342, allocations: 4 kB / 0.565 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007428/0.135, allocations: 350.4 kB / 0.5653 GB, free: 212 kB / 382.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.002788/0.1378, allocations: 2.08 MB / 0.5673 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.1388, allocations: 0.8379 MB / 0.5681 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.1388, allocations: 8 kB / 0.5681 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.1389, allocations: 38.56 kB / 0.5682 GB, free: 12.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.323e-06/0.1389, allocations: 0 / 0.5682 GB, free: 12.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.004676/0.1436, allocations: 1.404 MB / 0.5696 GB, free: 11.49 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1436, allocations: 51.41 kB / 0.5696 GB, free: 11.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.1441, allocations: 429.9 kB / 0.57 GB, free: 11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1441, allocations: 33.7 kB / 0.57 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.1443, allocations: 251.9 kB / 0.5703 GB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.725e-05/0.1444, allocations: 94.73 kB / 0.5704 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.1444, allocations: 8 kB / 0.5704 GB, free: 10.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1445, allocations: 354.8 kB / 0.5707 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.145, allocations: 196.2 kB / 0.5709 GB, free: 10.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.1454, allocations: 245.1 kB / 0.5711 GB, free: 9.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.1459, allocations: 208.9 kB / 0.5713 GB, free: 9.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1459, allocations: 3.938 kB / 0.5713 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00243/0.1483, allocations: 0.9422 MB / 0.5723 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1483, allocations: 12 kB / 0.5723 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1484, allocations: 0 / 0.5723 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002307/0.1507, allocations: 0.6485 MB / 0.5729 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.1515, allocations: 175.9 kB / 0.5731 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006891/0.1584, allocations: 3.245 MB / 0.5762 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.1588, allocations: 55.69 kB / 0.5763 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1589, allocations: 15.98 kB / 0.5763 GB, free: 4.359 MB / 398.1 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.0002213/0.1591, allocations: 170.3 kB / 0.5765 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.1592, allocations: 43.44 kB / 0.5765 GB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.1616, allocations: 0.8731 MB / 0.5774 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1616, allocations: 4 kB / 0.5774 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1616, allocations: 7.938 kB / 0.5774 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1617, allocations: 0 / 0.5774 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/0.1648, allocations: 1.625 MB / 0.579 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1648, allocations: 3.953 kB / 0.579 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.1657, allocations: 167.8 kB / 0.5791 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.1684, allocations: 0.7265 MB / 0.5798 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1685, allocations: 15.98 kB / 0.5799 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006624/0.1751, allocations: 3.225 MB / 0.583 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1751, allocations: 0 / 0.583 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.178, allocations: 1.159 MB / 0.5841 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1782, allocations: 124.5 kB / 0.5843 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.1782, allocations: 8 kB / 0.5843 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.1786, allocations: 31.97 kB / 0.5843 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.1787, allocations: 59.95 kB / 0.5844 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.1788, allocations: 15.98 kB / 0.5844 GB, free: 11.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003066/0.1791, allocations: 295.1 kB / 0.5846 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1791, allocations: 0 / 0.5846 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005124/0.1796, allocations: 127.8 kB / 0.5848 GB, free: 11.42 MB / 414.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 (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.002789/0.1824, allocations: 1.606 MB / 0.5863 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.185, allocations: 0.8144 MB / 0.5871 GB, free: 8.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.185, allocations: 3.938 kB / 0.5871 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.1872, allocations: 0.6117 MB / 0.5877 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.1875, allocations: 33.91 kB / 0.5878 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007388/0.1949, allocations: 3.859 MB / 0.5915 GB, free: 4.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1953, allocations: 0.8308 MB / 0.5923 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.1954, allocations: 42.94 kB / 0.5924 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.1956, allocations: 147.4 kB / 0.5925 GB, free: 3.332 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1956, allocations: 4 kB / 0.5925 GB, free: 3.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.2177, allocations: 10.72 MB / 0.603 GB, free: 8.785 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/0.2179, allocations: 216.3 kB / 0.6032 GB, free: 8.547 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.077, allocations: 0 / 0.6032 GB, free: 8.547 MB / 430.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/linux/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) Environment - environmentSimulation: