Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test") translateModel(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001148/0.001148, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.328/1.328, allocations: 222.9 MB / 239 MB, free: 4.711 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.001482/0.001482, allocations: 188.5 kB / 289.3 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4851/0.4851, allocations: 78.52 MB / 417.9 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 75.88 kB / 496.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1347, allocations: 68.17 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.224/0.3588, allocations: 3.621 MB / 0.5554 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3605, allocations: 1.068 MB / 0.5564 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.3607, allocations: 6.375 kB / 0.5565 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.361, allocations: 74.77 kB / 0.5565 GB, free: 37.38 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.0003512/0.3614, allocations: 148.5 kB / 0.5567 GB, free: 37.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.362, allocations: 308.5 kB / 0.557 GB, free: 37.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004567/0.3625, allocations: 0.6023 MB / 0.5575 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/0.3627, allocations: 150.5 kB / 0.5577 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.363, allocations: 256.9 kB / 0.5579 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3633, allocations: 269.1 kB / 0.5582 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.3633, allocations: 54.22 kB / 0.5582 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.3635, allocations: 108 kB / 0.5583 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.829e-05/0.3636, allocations: 119.2 kB / 0.5585 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.3638, allocations: 260.1 kB / 0.5587 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.3643, allocations: 0.6646 MB / 0.5594 GB, free: 36.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3643, allocations: 0 / 0.5594 GB, free: 36.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3644, allocations: 3.594 kB / 0.5594 GB, free: 36.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3644, allocations: 0 / 0.5594 GB, free: 36.89 MB / 430.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.001234/0.3656, allocations: 0.8376 MB / 0.5602 GB, free: 36.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3656, allocations: 8.578 kB / 0.5602 GB, free: 36.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.3665, allocations: 174.7 kB / 0.5604 GB, free: 36.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.3669, allocations: 397.5 kB / 0.5607 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/0.367, allocations: 62.91 kB / 0.5608 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.461e-05/0.3671, allocations: 36 kB / 0.5608 GB, free: 36.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.3678, allocations: 378.2 kB / 0.5612 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3679, allocations: 1.312 kB / 0.5612 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.3679, allocations: 11.38 kB / 0.5612 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3679, allocations: 7.031 kB / 0.5612 GB, free: 35.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.3685, allocations: 333.6 kB / 0.5615 GB, free: 35.97 MB / 430.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.002267/0.3708, allocations: 1.87 MB / 0.5634 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.3717, allocations: 0.8136 MB / 0.5641 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.3721, allocations: 181.7 kB / 0.5643 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.3721, allocations: 6.531 kB / 0.5643 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.3721, allocations: 40.75 kB / 0.5644 GB, free: 34.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.3721, allocations: 0 / 0.5644 GB, free: 34.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004344/0.3765, allocations: 1.244 MB / 0.5656 GB, free: 34.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3765, allocations: 55.3 kB / 0.5656 GB, free: 34.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.377, allocations: 431 kB / 0.566 GB, free: 34.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.377, allocations: 29.8 kB / 0.5661 GB, free: 34.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3771, allocations: 257.7 kB / 0.5663 GB, free: 34.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.3772, allocations: 89.22 kB / 0.5664 GB, free: 33.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3773, allocations: 64.73 kB / 0.5665 GB, free: 33.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.3774, allocations: 358.4 kB / 0.5668 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3778, allocations: 186.2 kB / 0.567 GB, free: 33.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.3781, allocations: 234.5 kB / 0.5672 GB, free: 33.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004374/0.3825, allocations: 1.3 MB / 0.5685 GB, free: 33.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3825, allocations: 1.375 kB / 0.5685 GB, free: 33.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00215/0.3847, allocations: 0.8334 MB / 0.5693 GB, free: 33.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3847, allocations: 2.719 kB / 0.5693 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3847, allocations: 10.03 kB / 0.5693 GB, free: 33.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/0.3867, allocations: 0.565 MB / 0.5699 GB, free: 33.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/0.3875, allocations: 139.9 kB / 0.57 GB, free: 33.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.3937, allocations: 3.209 MB / 0.5731 GB, free: 32.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.3941, allocations: 45.61 kB / 0.5732 GB, free: 31.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.3941, allocations: 14.73 kB / 0.5732 GB, free: 31.99 MB / 430.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.0002368/0.3944, allocations: 176.4 kB / 0.5733 GB, free: 31.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3945, allocations: 42.73 kB / 0.5734 GB, free: 31.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.3966, allocations: 0.7759 MB / 0.5741 GB, free: 31.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3966, allocations: 2.656 kB / 0.5742 GB, free: 31.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3966, allocations: 0 / 0.5742 GB, free: 31.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3966, allocations: 4 kB / 0.5742 GB, free: 31.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002712/0.3993, allocations: 1.475 MB / 0.5756 GB, free: 31.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3993, allocations: 3.938 kB / 0.5756 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.4002, allocations: 124.1 kB / 0.5757 GB, free: 31.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.4025, allocations: 0.636 MB / 0.5763 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.4026, allocations: 10.02 kB / 0.5763 GB, free: 31.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005788/0.4084, allocations: 3.173 MB / 0.5794 GB, free: 29.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4084, allocations: 4 kB / 0.5794 GB, free: 29.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.411, allocations: 1.057 MB / 0.5805 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4111, allocations: 112.3 kB / 0.5806 GB, free: 28.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.4112, allocations: 11.03 kB / 0.5806 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.4115, allocations: 23.33 kB / 0.5806 GB, free: 28.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4117, allocations: 62.81 kB / 0.5807 GB, free: 28.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/0.4117, allocations: 9.688 kB / 0.5807 GB, free: 28.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.412, allocations: 298.4 kB / 0.581 GB, free: 28.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.412, allocations: 0 / 0.581 GB, free: 28.67 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005497/0.4125, allocations: 136.5 kB / 0.5811 GB, free: 28.64 MB / 430.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.0001429/0.4127, allocations: 104.8 kB / 0.5812 GB, free: 28.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.4154, allocations: 0.7637 MB / 0.582 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4154, allocations: 1.438 kB / 0.582 GB, free: 28.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.4176, allocations: 0.5737 MB / 0.5825 GB, free: 28.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.418, allocations: 41.27 kB / 0.5826 GB, free: 28.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.4215, allocations: 1.177 MB / 0.5837 GB, free: 27.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.4217, allocations: 0.8205 MB / 0.5845 GB, free: 26.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.4218, allocations: 32.08 kB / 0.5845 GB, free: 26.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.4219, allocations: 26.03 kB / 0.5846 GB, free: 26.63 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4219, allocations: 4 kB / 0.5846 GB, free: 26.63 MB / 430.1 MB Notification: Performance of Templates: time 0.01285/0.4348, allocations: 7.344 MB / 0.5917 GB, free: 26.11 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)