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: 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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.107/0.107, allocations: 12.6 MB / 28.9 MB, free: 0.6055 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.001207/0.001207, allocations: 111.5 kB / 32.5 MB, free: 3.547 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 / 241.1 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.001644/0.001644, allocations: 196.4 kB / 291.4 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4398/0.4398, allocations: 78.51 MB / 420 MB, free: 10.75 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.002565/0.002565, allocations: 136.8 kB / 0.5565 GB, free: 17.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1456, allocations: 68.12 MB / 0.623 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.005234/0.1509, allocations: 3.438 MB / 0.6264 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002536/0.1535, allocations: 1.029 MB / 0.6274 GB, free: 8.668 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004171/0.154, allocations: 4 kB / 0.6274 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.1544, allocations: 99.19 kB / 0.6275 GB, free: 8.566 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.0007091/0.1551, allocations: 170.7 kB / 0.6276 GB, free: 8.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.156, allocations: 350.9 kB / 0.628 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000917/0.1569, allocations: 0.607 MB / 0.6286 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.1573, allocations: 148.9 kB / 0.6287 GB, free: 7.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.1578, allocations: 247 kB / 0.6289 GB, free: 7.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.1583, allocations: 266.8 kB / 0.6292 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.1584, allocations: 56 kB / 0.6293 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1588, allocations: 107.9 kB / 0.6294 GB, free: 6.629 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1589, allocations: 119.5 kB / 0.6295 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.1592, allocations: 270.6 kB / 0.6297 GB, free: 6.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008518/0.1601, allocations: 0.6696 MB / 0.6304 GB, free: 5.574 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1601, allocations: 0 / 0.6304 GB, free: 5.574 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1601, allocations: 0 / 0.6304 GB, free: 5.574 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.585e-05/0.1601, allocations: 0 / 0.6304 GB, free: 5.574 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.002219/0.1623, allocations: 0.8293 MB / 0.6312 GB, free: 4.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.1624, allocations: 11.98 kB / 0.6312 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1636, allocations: 176.1 kB / 0.6314 GB, free: 4.512 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.1645, allocations: 401.9 kB / 0.6318 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.1647, allocations: 62.66 kB / 0.6318 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.1648, allocations: 32 kB / 0.6318 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1658, allocations: 385.9 kB / 0.6322 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.1659, allocations: 0 / 0.6322 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.318e-05/0.1659, allocations: 8 kB / 0.6322 GB, free: 3.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.1659, allocations: 11.98 kB / 0.6322 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008216/0.1668, allocations: 330.4 kB / 0.6325 GB, free: 3.254 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.003552/0.1703, allocations: 1.852 MB / 0.6344 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.1716, allocations: 0.8094 MB / 0.6351 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/0.1721, allocations: 192.7 kB / 0.6353 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.1721, allocations: 7.984 kB / 0.6353 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1722, allocations: 34.5 kB / 0.6354 GB, free: 96 kB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.985e-06/0.1722, allocations: 0 / 0.6354 GB, free: 96 kB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.005075/0.1773, allocations: 1.244 MB / 0.6366 GB, free: 14.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.1774, allocations: 59.41 kB / 0.6366 GB, free: 14.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.1781, allocations: 433.9 kB / 0.6371 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.1782, allocations: 29.7 kB / 0.6371 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1784, allocations: 255.9 kB / 0.6373 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.1785, allocations: 90.73 kB / 0.6374 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1787, allocations: 69.58 kB / 0.6375 GB, free: 13.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1789, allocations: 358.7 kB / 0.6378 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.1794, allocations: 184.2 kB / 0.638 GB, free: 13.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.1799, allocations: 232.8 kB / 0.6382 GB, free: 13.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005079/0.185, allocations: 1.298 MB / 0.6395 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.185, allocations: 0 / 0.6395 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002494/0.1875, allocations: 0.8368 MB / 0.6403 GB, free: 10.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1875, allocations: 12 kB / 0.6403 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1876, allocations: 3.938 kB / 0.6403 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002273/0.1898, allocations: 0.5587 MB / 0.6409 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.1907, allocations: 139.9 kB / 0.641 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007367/0.1981, allocations: 3.21 MB / 0.6441 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1986, allocations: 43.72 kB / 0.6442 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.1987, allocations: 15.98 kB / 0.6442 GB, free: 6.801 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.000307/0.199, allocations: 165.8 kB / 0.6443 GB, free: 6.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1991, allocations: 47.44 kB / 0.6444 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/0.2017, allocations: 0.7708 MB / 0.6451 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2017, allocations: 4 kB / 0.6452 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2017, allocations: 0 / 0.6452 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2017, allocations: 3.938 kB / 0.6452 GB, free: 5.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.2051, allocations: 1.471 MB / 0.6466 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.2051, allocations: 0 / 0.6466 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.206, allocations: 123.8 kB / 0.6467 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00272/0.2087, allocations: 0.6366 MB / 0.6473 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.2088, allocations: 11.98 kB / 0.6473 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007084/0.2159, allocations: 3.167 MB / 0.6504 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2159, allocations: 0 / 0.6504 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.219, allocations: 1.052 MB / 0.6515 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2192, allocations: 128.4 kB / 0.6516 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.309e-05/0.2193, allocations: 7.984 kB / 0.6516 GB, free: 14.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.2197, allocations: 19.98 kB / 0.6516 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.2199, allocations: 63.97 kB / 0.6517 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.2199, allocations: 8 kB / 0.6517 GB, free: 14.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003586/0.2202, allocations: 303.1 kB / 0.652 GB, free: 14.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2203, allocations: 0 / 0.652 GB, free: 14.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005844/0.2208, allocations: 123.8 kB / 0.6521 GB, free: 14.44 MB / 478.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.0001691/0.221, allocations: 107.2 kB / 0.6522 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002905/0.2239, allocations: 0.7595 MB / 0.6529 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.224, allocations: 0 / 0.6529 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.2263, allocations: 0.5882 MB / 0.6535 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.2268, allocations: 41.91 kB / 0.6535 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.2306, allocations: 1.021 MB / 0.6545 GB, free: 11.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.2311, allocations: 0.8232 MB / 0.6553 GB, free: 11.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.2313, allocations: 35.44 kB / 0.6554 GB, free: 10.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2313, allocations: 3.938 kB / 0.6554 GB, free: 10.98 MB / 478.1 MB Notification: Performance of Templates: time 0.01271/0.244, allocations: 7.239 MB / 0.6625 GB, free: 3.727 MB / 478.1 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)