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.00112/0.00112, allocations: 99.75 kB / 16.29 MB, free: 6.426 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.353/1.353, allocations: 222.9 MB / 239.9 MB, free: 4.672 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.001591/0.001591, allocations: 195.5 kB / 290.2 MB, free: 2.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4529/0.4529, allocations: 78.52 MB / 418.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 71.89 kB / 498.1 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1321, allocations: 68.18 MB / 0.5531 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.2128/0.3449, allocations: 3.389 MB / 0.5564 GB, free: 37.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3465, allocations: 1.052 MB / 0.5574 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001845/0.3467, allocations: 6.906 kB / 0.5574 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.347, allocations: 95.5 kB / 0.5575 GB, free: 37.61 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.0003961/0.3474, allocations: 163.1 kB / 0.5576 GB, free: 37.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3481, allocations: 354.2 kB / 0.558 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.3486, allocations: 0.6023 MB / 0.5586 GB, free: 37.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.3488, allocations: 145.1 kB / 0.5587 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.3491, allocations: 254.4 kB / 0.559 GB, free: 37.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.3494, allocations: 270.8 kB / 0.5592 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.3494, allocations: 56.25 kB / 0.5593 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3496, allocations: 100.1 kB / 0.5594 GB, free: 37.34 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.3497, allocations: 116.3 kB / 0.5595 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.3499, allocations: 265.5 kB / 0.5597 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005574/0.3505, allocations: 0.6727 MB / 0.5604 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3505, allocations: 2.562 kB / 0.5604 GB, free: 37.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3505, allocations: 1.75 kB / 0.5604 GB, free: 37.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3505, allocations: 0 / 0.5604 GB, free: 37.11 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.001265/0.3518, allocations: 0.8412 MB / 0.5612 GB, free: 36.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3518, allocations: 10.33 kB / 0.5612 GB, free: 36.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009319/0.3527, allocations: 167 kB / 0.5614 GB, free: 36.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.3532, allocations: 400.4 kB / 0.5618 GB, free: 36.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.476e-05/0.3533, allocations: 61.75 kB / 0.5618 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.3534, allocations: 29.25 kB / 0.5618 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.3541, allocations: 383 kB / 0.5622 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3541, allocations: 0.5 kB / 0.5622 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.3541, allocations: 12.78 kB / 0.5622 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3542, allocations: 8.688 kB / 0.5622 GB, free: 36.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.3548, allocations: 332.1 kB / 0.5625 GB, free: 36.19 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.002358/0.3572, allocations: 1.85 MB / 0.5644 GB, free: 35.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.358, allocations: 0.8138 MB / 0.5651 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.3585, allocations: 191.4 kB / 0.5653 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.3585, allocations: 4.312 kB / 0.5653 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.3585, allocations: 35.75 kB / 0.5654 GB, free: 34.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.154e-06/0.3585, allocations: 2.625 kB / 0.5654 GB, free: 34.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004368/0.3629, allocations: 1.244 MB / 0.5666 GB, free: 34.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.363, allocations: 58.12 kB / 0.5666 GB, free: 34.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.3634, allocations: 426.3 kB / 0.567 GB, free: 34.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.3634, allocations: 29.45 kB / 0.5671 GB, free: 34.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3635, allocations: 265.5 kB / 0.5673 GB, free: 34.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.729e-05/0.3636, allocations: 84.59 kB / 0.5674 GB, free: 34.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.3637, allocations: 63.81 kB / 0.5675 GB, free: 34.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.3638, allocations: 360.5 kB / 0.5678 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.3641, allocations: 183.8 kB / 0.568 GB, free: 33.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.3645, allocations: 231.8 kB / 0.5682 GB, free: 33.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004482/0.369, allocations: 1.29 MB / 0.5695 GB, free: 33.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.3691, allocations: 3.625 kB / 0.5695 GB, free: 33.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002229/0.3713, allocations: 0.839 MB / 0.5703 GB, free: 33.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3713, allocations: 6.469 kB / 0.5703 GB, free: 33.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3713, allocations: 8.578 kB / 0.5703 GB, free: 33.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.3734, allocations: 0.5586 MB / 0.5709 GB, free: 33.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/0.3742, allocations: 144 kB / 0.571 GB, free: 33.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.3804, allocations: 3.201 MB / 0.5741 GB, free: 32.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.3809, allocations: 41.62 kB / 0.5742 GB, free: 32.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.381, allocations: 18.16 kB / 0.5742 GB, free: 32.24 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.0002066/0.3812, allocations: 178.2 kB / 0.5743 GB, free: 32.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.3813, allocations: 44.38 kB / 0.5744 GB, free: 32.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.3835, allocations: 0.7676 MB / 0.5751 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3835, allocations: 2.625 kB / 0.5751 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3835, allocations: 0 / 0.5751 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3835, allocations: 6 kB / 0.5751 GB, free: 32.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.3863, allocations: 1.484 MB / 0.5766 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3864, allocations: 3.938 kB / 0.5766 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/0.3872, allocations: 124.7 kB / 0.5767 GB, free: 31.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.3897, allocations: 0.6319 MB / 0.5773 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3897, allocations: 12.25 kB / 0.5773 GB, free: 31.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005956/0.3957, allocations: 3.168 MB / 0.5804 GB, free: 29.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3957, allocations: 0 / 0.5804 GB, free: 29.64 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002667/0.3984, allocations: 1.052 MB / 0.5815 GB, free: 29.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.3986, allocations: 118.6 kB / 0.5816 GB, free: 29.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.3987, allocations: 8.469 kB / 0.5816 GB, free: 29.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.399, allocations: 22.22 kB / 0.5816 GB, free: 29.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.3992, allocations: 59.48 kB / 0.5817 GB, free: 29.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.3992, allocations: 14.7 kB / 0.5817 GB, free: 29.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003101/0.3995, allocations: 300.2 kB / 0.582 GB, free: 28.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3996, allocations: 0 / 0.582 GB, free: 28.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005934/0.4002, allocations: 136.6 kB / 0.5821 GB, free: 28.89 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.0001527/0.4003, allocations: 100.4 kB / 0.5822 GB, free: 28.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.403, allocations: 0.7654 MB / 0.5829 GB, free: 28.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.403, allocations: 0 / 0.5829 GB, free: 28.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002209/0.4052, allocations: 0.5777 MB / 0.5835 GB, free: 28.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.4056, allocations: 41.48 kB / 0.5835 GB, free: 28.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.409, allocations: 1.003 MB / 0.5845 GB, free: 27.76 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.4092, allocations: 0.8193 MB / 0.5853 GB, free: 27.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.4093, allocations: 32.2 kB / 0.5854 GB, free: 27.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.679e-05/0.4094, allocations: 33.33 kB / 0.5854 GB, free: 27.05 MB / 430.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4094, allocations: 4 kB / 0.5854 GB, free: 27.04 MB / 430.1 MB Notification: Performance of Templates: time 0.01294/0.4224, allocations: 7.56 MB / 0.5928 GB, free: 26.5 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test.pipe 2>&1)