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.00118/0.00118, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.613 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.001525/0.001524, allocations: 200.3 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5372/0.5372, allocations: 91.9 MB / 432.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 76.16 kB / 0.5025 GB, free: 7.766 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4206, allocations: 71.27 MB / 0.5721 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.PSAT.PhaseShiftingTransformer_Test): time 0.00373/0.4244, allocations: 3.405 MB / 0.5754 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.4261, allocations: 1.059 MB / 0.5765 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.4263, allocations: 5.25 kB / 0.5765 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.4266, allocations: 96.86 kB / 0.5766 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.427, allocations: 166.9 kB / 0.5767 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008247/0.4278, allocations: 355 kB / 0.5771 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006631/0.4285, allocations: 0.6022 MB / 0.5777 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.4288, allocations: 152.7 kB / 0.5778 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.4292, allocations: 253 kB / 0.5781 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003433/0.4295, allocations: 271.2 kB / 0.5783 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.809e-05/0.4296, allocations: 55.47 kB / 0.5784 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.4299, allocations: 105 kB / 0.5785 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.43, allocations: 124.7 kB / 0.5786 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.4303, allocations: 261.8 kB / 0.5788 GB, free: 33.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.431, allocations: 0.6672 MB / 0.5795 GB, free: 32.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.431, allocations: 4.531 kB / 0.5795 GB, free: 32.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.431, allocations: 0 / 0.5795 GB, free: 32.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.431, allocations: 0 / 0.5795 GB, free: 32.72 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.001772/0.4328, allocations: 0.8426 MB / 0.5803 GB, free: 32.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4329, allocations: 8.594 kB / 0.5803 GB, free: 32.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.4343, allocations: 169.5 kB / 0.5805 GB, free: 32.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.435, allocations: 398.9 kB / 0.5809 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/0.4351, allocations: 66.91 kB / 0.5809 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.4352, allocations: 25.78 kB / 0.581 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.4363, allocations: 385.8 kB / 0.5813 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4363, allocations: 4.531 kB / 0.5813 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.4363, allocations: 12.41 kB / 0.5813 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.4364, allocations: 5.625 kB / 0.5813 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009829/0.4374, allocations: 333.5 kB / 0.5817 GB, free: 31.39 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.003394/0.4408, allocations: 1.855 MB / 0.5835 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.442, allocations: 0.8223 MB / 0.5843 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005957/0.4426, allocations: 187.2 kB / 0.5845 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.4427, allocations: 3.844 kB / 0.5845 GB, free: 29.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.4427, allocations: 35.94 kB / 0.5845 GB, free: 29.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.825e-06/0.4427, allocations: 0 / 0.5845 GB, free: 29.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.006056/0.4488, allocations: 1.252 MB / 0.5857 GB, free: 28.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4488, allocations: 56.33 kB / 0.5858 GB, free: 28.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005728/0.4494, allocations: 426.4 kB / 0.5862 GB, free: 28.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.4495, allocations: 29.7 kB / 0.5862 GB, free: 28.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.4496, allocations: 260.6 kB / 0.5864 GB, free: 28.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.582e-05/0.4497, allocations: 84.45 kB / 0.5865 GB, free: 28.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.4499, allocations: 64.67 kB / 0.5866 GB, free: 28.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.45, allocations: 360.3 kB / 0.5869 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.4505, allocations: 185 kB / 0.5871 GB, free: 27.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005846/0.4511, allocations: 237 kB / 0.5873 GB, free: 27.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006398/0.4575, allocations: 1.297 MB / 0.5886 GB, free: 27.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4576, allocations: 0 / 0.5886 GB, free: 27.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00339/0.461, allocations: 0.8371 MB / 0.5894 GB, free: 27.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.461, allocations: 5.312 kB / 0.5894 GB, free: 27.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.461, allocations: 5.125 kB / 0.5894 GB, free: 27.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/0.4639, allocations: 0.5652 MB / 0.59 GB, free: 26.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4651, allocations: 146.9 kB / 0.5901 GB, free: 26.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009536/0.4747, allocations: 3.198 MB / 0.5932 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.4753, allocations: 45.45 kB / 0.5933 GB, free: 24.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.225e-05/0.4754, allocations: 12.05 kB / 0.5933 GB, free: 24.82 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.0003134/0.4757, allocations: 193.9 kB / 0.5935 GB, free: 24.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.4759, allocations: 39.53 kB / 0.5935 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.4784, allocations: 0.7732 MB / 0.5943 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4784, allocations: 2.75 kB / 0.5943 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.4784, allocations: 4 kB / 0.5943 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/0.4784, allocations: 3.281 kB / 0.5943 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.4816, allocations: 1.472 MB / 0.5957 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4816, allocations: 3.938 kB / 0.5957 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009153/0.4825, allocations: 128.7 kB / 0.5959 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/0.4853, allocations: 0.6273 MB / 0.5965 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/0.4853, allocations: 11.05 kB / 0.5965 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007107/0.4925, allocations: 3.181 MB / 0.5996 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4925, allocations: 0 / 0.5996 GB, free: 21.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.4957, allocations: 1.055 MB / 0.6006 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.4959, allocations: 123.3 kB / 0.6007 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/0.496, allocations: 7.484 kB / 0.6007 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.4964, allocations: 24.59 kB / 0.6008 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.4965, allocations: 59.02 kB / 0.6008 GB, free: 20.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.4966, allocations: 9.484 kB / 0.6008 GB, free: 20.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004141/0.497, allocations: 299 kB / 0.6011 GB, free: 20.63 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.497, allocations: 0 / 0.6011 GB, free: 20.63 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.4977, allocations: 133.6 kB / 0.6012 GB, free: 20.61 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.0001716/0.4979, allocations: 110.7 kB / 0.6013 GB, free: 20.51 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003074/0.501, allocations: 0.762 MB / 0.6021 GB, free: 20.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.501, allocations: 4.25 kB / 0.6021 GB, free: 20.21 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.5034, allocations: 0.5799 MB / 0.6027 GB, free: 19.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.5039, allocations: 35.69 kB / 0.6027 GB, free: 19.96 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.5078, allocations: 1.045 MB / 0.6037 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.5082, allocations: 0.8208 MB / 0.6045 GB, free: 18.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5084, allocations: 33.67 kB / 0.6045 GB, free: 18.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5084, allocations: 0 / 0.6045 GB, free: 18.68 MB / 430.1 MB Notification: Performance of Templates: time 0.01549/0.5239, allocations: 7.198 MB / 0.6116 GB, free: 17.48 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)