Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.conf.json 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 4.0.0+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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007575/0.007576, allocations: 106.8 kB / 15.74 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001263/0.001263, allocations: 184.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4822/0.4822, allocations: 91.89 MB / 431.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001317, allocations: 88.19 kB / 0.5727 GB, free: 33.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1208, allocations: 71.28 MB / 0.6423 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00419/0.1251, allocations: 3.395 MB / 0.6456 GB, free: 232 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.127, allocations: 1.044 MB / 0.6466 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1274, allocations: 8 kB / 0.6466 GB, free: 15.17 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1277, allocations: 99.19 kB / 0.6467 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.1282, allocations: 194.6 kB / 0.6469 GB, free: 14.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007431/0.129, allocations: 353.9 kB / 0.6473 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.1296, allocations: 0.607 MB / 0.6479 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1299, allocations: 156.9 kB / 0.648 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.1302, allocations: 247.1 kB / 0.6482 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.1306, allocations: 270.7 kB / 0.6485 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.1307, allocations: 59.94 kB / 0.6486 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.1309, allocations: 108 kB / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.131, allocations: 119.5 kB / 0.6488 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1312, allocations: 266.5 kB / 0.649 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.1319, allocations: 0.6696 MB / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1319, allocations: 0 / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1319, allocations: 0 / 0.6497 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.132, allocations: 4 kB / 0.6497 GB, free: 12.05 MB / 462.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.001526/0.1335, allocations: 0.8371 MB / 0.6505 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1335, allocations: 8.031 kB / 0.6505 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.1346, allocations: 168.2 kB / 0.6507 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.1352, allocations: 405.9 kB / 0.6511 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.1353, allocations: 66.66 kB / 0.6511 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.1354, allocations: 24 kB / 0.6511 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008385/0.1362, allocations: 385.9 kB / 0.6515 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1362, allocations: 0 / 0.6515 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.1363, allocations: 16 kB / 0.6515 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1363, allocations: 8 kB / 0.6515 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007217/0.137, allocations: 330.4 kB / 0.6519 GB, free: 9.727 MB / 462.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.002741/0.1398, allocations: 1.852 MB / 0.6537 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.1408, allocations: 0.8173 MB / 0.6545 GB, free: 6.801 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.1413, allocations: 187 kB / 0.6546 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.1414, allocations: 3.984 kB / 0.6546 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1414, allocations: 42.56 kB / 0.6547 GB, free: 6.562 MB / 462.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.1414, allocations: 0 / 0.6547 GB, free: 6.562 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.004848/0.1463, allocations: 1.248 MB / 0.6559 GB, free: 5.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1463, allocations: 51.41 kB / 0.6559 GB, free: 5.223 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.1468, allocations: 437.9 kB / 0.6564 GB, free: 4.785 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1468, allocations: 25.7 kB / 0.6564 GB, free: 4.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.147, allocations: 259.9 kB / 0.6566 GB, free: 4.496 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.147, allocations: 90.73 kB / 0.6567 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.1472, allocations: 65.67 kB / 0.6568 GB, free: 4.336 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1473, allocations: 354.7 kB / 0.6571 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.1477, allocations: 184.2 kB / 0.6573 GB, free: 3.797 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.1482, allocations: 232.9 kB / 0.6575 GB, free: 3.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.1532, allocations: 1.294 MB / 0.6588 GB, free: 2.242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1532, allocations: 0 / 0.6588 GB, free: 2.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00247/0.1556, allocations: 0.837 MB / 0.6596 GB, free: 1.395 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1557, allocations: 4 kB / 0.6596 GB, free: 1.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.1557, allocations: 7.938 kB / 0.6596 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.158, allocations: 0.5625 MB / 0.6602 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008984/0.1589, allocations: 143.8 kB / 0.6603 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/0.1663, allocations: 3.2 MB / 0.6634 GB, free: 13.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.1668, allocations: 52 kB / 0.6635 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.1668, allocations: 15.98 kB / 0.6635 GB, free: 13.27 MB / 478.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.0003072/0.1671, allocations: 166 kB / 0.6637 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1673, allocations: 39.53 kB / 0.6637 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.1699, allocations: 0.7748 MB / 0.6644 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.1699, allocations: 4 kB / 0.6644 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1699, allocations: 0 / 0.6644 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1699, allocations: 0 / 0.6644 GB, free: 12.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.1733, allocations: 1.485 MB / 0.6659 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1734, allocations: 0 / 0.6659 GB, free: 10.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009487/0.1743, allocations: 123.8 kB / 0.666 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/0.1771, allocations: 0.6289 MB / 0.6666 GB, free: 9.969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.1771, allocations: 15.98 kB / 0.6666 GB, free: 9.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007162/0.1843, allocations: 3.171 MB / 0.6697 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1843, allocations: 0 / 0.6697 GB, free: 6.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003094/0.1874, allocations: 1.05 MB / 0.6708 GB, free: 5.562 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1876, allocations: 128.5 kB / 0.6709 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.1877, allocations: 4 kB / 0.6709 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.1881, allocations: 23.91 kB / 0.6709 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.1883, allocations: 59.92 kB / 0.671 GB, free: 5.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.1883, allocations: 7.984 kB / 0.671 GB, free: 5.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003581/0.1887, allocations: 307.2 kB / 0.6713 GB, free: 5.027 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1887, allocations: 0 / 0.6713 GB, free: 5.027 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000555/0.1892, allocations: 131.8 kB / 0.6714 GB, free: 4.898 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.0001707/0.1894, allocations: 99.78 kB / 0.6715 GB, free: 4.793 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002883/0.1923, allocations: 0.7845 MB / 0.6723 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1923, allocations: 0 / 0.6723 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002409/0.1947, allocations: 0.5727 MB / 0.6728 GB, free: 3.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1951, allocations: 40.03 kB / 0.6729 GB, free: 3.371 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.1989, allocations: 1 MB / 0.6738 GB, free: 2.344 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1993, allocations: 0.8271 MB / 0.6746 GB, free: 1.488 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.1994, allocations: 34.97 kB / 0.6747 GB, free: 1.453 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.1995, allocations: 27.42 kB / 0.6747 GB, free: 1.43 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1995, allocations: 0 / 0.6747 GB, free: 1.43 MB / 478.1 MB Notification: Performance of Templates: time 0.0136/0.2131, allocations: 7.687 MB / 0.6822 GB, free: 9.75 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)