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.001123/0.001123, allocations: 105 kB / 15.98 MB, free: 6.352 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.279/1.279, allocations: 222.9 MB / 239.6 MB, free: 4.676 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.001242/0.001242, allocations: 196.1 kB / 289.9 MB, free: 2.426 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4879/0.4879, allocations: 91.9 MB / 432 MB, free: 9.328 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 79.83 kB / 0.502 GB, free: 7.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3327, allocations: 71.26 MB / 0.5716 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.003498/0.3362, allocations: 3.626 MB / 0.5752 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3377, allocations: 1.076 MB / 0.5762 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.3379, allocations: 9.188 kB / 0.5762 GB, free: 34.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.3382, allocations: 68.42 kB / 0.5763 GB, free: 34.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3386, allocations: 154.3 kB / 0.5764 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.3391, allocations: 312.2 kB / 0.5767 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.3395, allocations: 0.6021 MB / 0.5773 GB, free: 33.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.3398, allocations: 162.2 kB / 0.5775 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.34, allocations: 248.4 kB / 0.5777 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.3402, allocations: 272 kB / 0.578 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.3403, allocations: 53.12 kB / 0.578 GB, free: 33.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.3405, allocations: 111.1 kB / 0.5781 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3405, allocations: 122.3 kB / 0.5782 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3407, allocations: 261.2 kB / 0.5785 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.3411, allocations: 0.5224 MB / 0.579 GB, free: 32.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3411, allocations: 0 / 0.579 GB, free: 32.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3411, allocations: 6.312 kB / 0.579 GB, free: 32.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.3411, allocations: 1.656 kB / 0.579 GB, free: 32.85 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.001335/0.3425, allocations: 0.8306 MB / 0.5798 GB, free: 32.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.3425, allocations: 9.812 kB / 0.5798 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.3435, allocations: 177.2 kB / 0.58 GB, free: 32.19 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.344, allocations: 398.5 kB / 0.5804 GB, free: 31.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.3441, allocations: 64.33 kB / 0.5804 GB, free: 31.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.82e-05/0.3442, allocations: 32 kB / 0.5805 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.3449, allocations: 381.3 kB / 0.5808 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3449, allocations: 1.531 kB / 0.5808 GB, free: 31.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.345, allocations: 10.56 kB / 0.5809 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.345, allocations: 8.031 kB / 0.5809 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006386/0.3456, allocations: 334.7 kB / 0.5812 GB, free: 31.53 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.002318/0.348, allocations: 1.872 MB / 0.583 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/0.3489, allocations: 0.8161 MB / 0.5838 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/0.3493, allocations: 188.8 kB / 0.584 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.537e-05/0.3493, allocations: 6.75 kB / 0.584 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.3494, allocations: 40.44 kB / 0.584 GB, free: 29.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/0.3494, allocations: 0 / 0.584 GB, free: 29.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.004473/0.3539, allocations: 1.243 MB / 0.5852 GB, free: 28.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.3539, allocations: 56.94 kB / 0.5853 GB, free: 28.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/0.3543, allocations: 430.4 kB / 0.5857 GB, free: 28.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3543, allocations: 33.42 kB / 0.5857 GB, free: 28.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3545, allocations: 256.1 kB / 0.586 GB, free: 28.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.3545, allocations: 94.05 kB / 0.5861 GB, free: 28.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.3547, allocations: 56 kB / 0.5861 GB, free: 28.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.3547, allocations: 360.8 kB / 0.5865 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.3551, allocations: 187.6 kB / 0.5866 GB, free: 27.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.3555, allocations: 225.2 kB / 0.5869 GB, free: 27.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/0.3603, allocations: 1.303 MB / 0.5881 GB, free: 27.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3603, allocations: 1.062 kB / 0.5881 GB, free: 27.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.002337/0.3626, allocations: 0.8351 MB / 0.589 GB, free: 27.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3627, allocations: 9.438 kB / 0.589 GB, free: 27.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.3627, allocations: 3.938 kB / 0.589 GB, free: 27.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/0.3648, allocations: 0.5591 MB / 0.5895 GB, free: 27.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008345/0.3657, allocations: 142.5 kB / 0.5896 GB, free: 27.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006626/0.3723, allocations: 3.21 MB / 0.5928 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.3728, allocations: 49.97 kB / 0.5928 GB, free: 24.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.3728, allocations: 15.84 kB / 0.5928 GB, free: 24.93 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.0002153/0.373, allocations: 177.1 kB / 0.593 GB, free: 24.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.3731, allocations: 39.66 kB / 0.5931 GB, free: 24.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.3755, allocations: 0.7743 MB / 0.5938 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3755, allocations: 2.219 kB / 0.5938 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3756, allocations: 1.125 kB / 0.5938 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3756, allocations: 0 / 0.5938 GB, free: 24.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.3786, allocations: 1.47 MB / 0.5952 GB, free: 23.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3786, allocations: 5.031 kB / 0.5952 GB, free: 23.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/0.3796, allocations: 125.5 kB / 0.5954 GB, free: 23.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.3822, allocations: 0.6346 MB / 0.596 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.3823, allocations: 9.797 kB / 0.596 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006537/0.3888, allocations: 3.185 MB / 0.5991 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3889, allocations: 0 / 0.5991 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.3917, allocations: 1.054 MB / 0.6001 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3919, allocations: 119.5 kB / 0.6003 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/0.392, allocations: 7.219 kB / 0.6003 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.3923, allocations: 24.44 kB / 0.6003 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.3925, allocations: 59.61 kB / 0.6003 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3926, allocations: 12.73 kB / 0.6004 GB, free: 20.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.3929, allocations: 304.3 kB / 0.6006 GB, free: 20.76 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3929, allocations: 0 / 0.6006 GB, free: 20.76 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005322/0.3934, allocations: 133.8 kB / 0.6008 GB, free: 20.73 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.000138/0.3936, allocations: 109.1 kB / 0.6009 GB, free: 20.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002826/0.3964, allocations: 0.7664 MB / 0.6016 GB, free: 20.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3964, allocations: 3.938 kB / 0.6016 GB, free: 20.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.3987, allocations: 0.5681 MB / 0.6022 GB, free: 20.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.3991, allocations: 41.44 kB / 0.6022 GB, free: 20.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4027, allocations: 1.195 MB / 0.6034 GB, free: 19.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.403, allocations: 0.8165 MB / 0.6042 GB, free: 18.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.4031, allocations: 30.12 kB / 0.6042 GB, free: 18.66 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4031, allocations: 0 / 0.6042 GB, free: 18.66 MB / 430.1 MB Notification: Performance of Templates: time 0.01016/0.4132, allocations: 7.204 MB / 0.6112 GB, free: 17.57 MB / 430.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)