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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 221.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 100.1 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.078/0.078, allocations: 12.59 MB / 329.1 MB, free: 12.4 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2966/0.2966, allocations: 78.51 MB / 457.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 114.1 kB / 0.5254 GB, free: 19.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1457, allocations: 68.13 MB / 0.592 GB, free: 15.65 MB / 394.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.006799/0.1526, allocations: 3.671 MB / 0.5956 GB, free: 11.95 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1551, allocations: 1.022 MB / 0.5966 GB, free: 10.92 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005324/0.1557, allocations: 4 kB / 0.5966 GB, free: 10.92 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.1562, allocations: 83.5 kB / 0.5966 GB, free: 10.84 MB / 394.7 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.000704/0.1569, allocations: 142.9 kB / 0.5968 GB, free: 10.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008312/0.1578, allocations: 327.2 kB / 0.5971 GB, free: 10.38 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.1586, allocations: 0.5758 MB / 0.5976 GB, free: 9.797 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.1588, allocations: 129 kB / 0.5978 GB, free: 9.668 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.1592, allocations: 226.9 kB / 0.598 GB, free: 9.445 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.1597, allocations: 246.8 kB / 0.5982 GB, free: 9.203 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1598, allocations: 35.94 kB / 0.5983 GB, free: 9.168 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.1601, allocations: 87.91 kB / 0.5983 GB, free: 9.082 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1602, allocations: 91.53 kB / 0.5984 GB, free: 8.992 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002785/0.1605, allocations: 238.6 kB / 0.5987 GB, free: 8.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007307/0.1612, allocations: 0.6504 MB / 0.5993 GB, free: 8.105 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.73e-05/0.1613, allocations: 4 kB / 0.5993 GB, free: 8.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1613, allocations: 0 / 0.5993 GB, free: 8.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.663e-05/0.1613, allocations: 0 / 0.5993 GB, free: 8.102 MB / 394.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.002062/0.1634, allocations: 0.8332 MB / 0.6001 GB, free: 7.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1634, allocations: 11.98 kB / 0.6001 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.1646, allocations: 176.1 kB / 0.6003 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.1653, allocations: 401.9 kB / 0.6007 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1654, allocations: 62.64 kB / 0.6007 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.1655, allocations: 32 kB / 0.6008 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.1664, allocations: 381.9 kB / 0.6011 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1664, allocations: 0 / 0.6011 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.1665, allocations: 12 kB / 0.6011 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.1665, allocations: 4 kB / 0.6011 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.1673, allocations: 338.4 kB / 0.6015 GB, free: 5.785 MB / 394.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.003084/0.1703, allocations: 1.86 MB / 0.6033 GB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1714, allocations: 0.8125 MB / 0.6041 GB, free: 2.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.1719, allocations: 192.8 kB / 0.6043 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.172, allocations: 0 / 0.6043 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.172, allocations: 42.56 kB / 0.6043 GB, free: 2.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.172, allocations: 0 / 0.6043 GB, free: 2.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.004791/0.1768, allocations: 1.244 MB / 0.6055 GB, free: 1.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1769, allocations: 51.41 kB / 0.6056 GB, free: 1.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.1775, allocations: 437.8 kB / 0.606 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.1775, allocations: 33.7 kB / 0.606 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.1777, allocations: 248 kB / 0.6062 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1779, allocations: 98.73 kB / 0.6063 GB, free: 468 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.178, allocations: 69.58 kB / 0.6064 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1782, allocations: 350.7 kB / 0.6067 GB, free: 32 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.1786, allocations: 184.2 kB / 0.6069 GB, free: 15.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.1791, allocations: 236.8 kB / 0.6071 GB, free: 15.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/0.184, allocations: 1.287 MB / 0.6084 GB, free: 14.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.184, allocations: 8 kB / 0.6084 GB, free: 14.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002474/0.1865, allocations: 0.8292 MB / 0.6092 GB, free: 13.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1865, allocations: 4 kB / 0.6092 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.1866, allocations: 7.938 kB / 0.6092 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.1888, allocations: 0.5702 MB / 0.6098 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008947/0.1897, allocations: 139.9 kB / 0.6099 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/0.1969, allocations: 2.974 MB / 0.6128 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.1975, allocations: 47.72 kB / 0.6129 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.1976, allocations: 12 kB / 0.6129 GB, free: 9.566 MB / 410.7 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.0003218/0.1979, allocations: 175.5 kB / 0.613 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.198, allocations: 43.44 kB / 0.6131 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.2006, allocations: 0.7631 MB / 0.6138 GB, free: 8.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.2006, allocations: 7.938 kB / 0.6138 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2006, allocations: 3.984 kB / 0.6138 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2006, allocations: 0 / 0.6138 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.2039, allocations: 1.501 MB / 0.6153 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.204, allocations: 0 / 0.6153 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009308/0.2049, allocations: 119.9 kB / 0.6154 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.2079, allocations: 0.6367 MB / 0.616 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.208, allocations: 11.92 kB / 0.6161 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007313/0.2153, allocations: 2.947 MB / 0.6189 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2153, allocations: 0 / 0.6189 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/0.2371, allocations: 8.622 MB / 0.6274 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.2373, allocations: 120.6 kB / 0.6275 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.2374, allocations: 11.94 kB / 0.6275 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.2378, allocations: 19.97 kB / 0.6275 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.2381, allocations: 59.91 kB / 0.6276 GB, free: 9.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.2382, allocations: 7.984 kB / 0.6276 GB, free: 9.859 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.2386, allocations: 303.1 kB / 0.6279 GB, free: 9.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.2386, allocations: 4.062 kB / 0.6279 GB, free: 9.566 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000966/0.2396, allocations: 183.8 kB / 0.628 GB, free: 9.387 MB / 426.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 (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.0002687/0.2399, allocations: 103.3 kB / 0.6281 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.2429, allocations: 0.756 MB / 0.6289 GB, free: 8.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2429, allocations: 0 / 0.6289 GB, free: 8.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.2453, allocations: 0.5687 MB / 0.6294 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.2458, allocations: 33.97 kB / 0.6295 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.2515, allocations: 1.752 MB / 0.6312 GB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.252, allocations: 0.8347 MB / 0.632 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.2522, allocations: 34.97 kB / 0.632 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.2523, allocations: 35.42 kB / 0.6321 GB, free: 5.137 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2523, allocations: 0 / 0.6321 GB, free: 5.137 MB / 426.7 MB Notification: Performance of Templates: time 0.2443/0.4967, allocations: 9.356 MB / 0.6412 GB, free: 50.36 MB / 426.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)