Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 106.9 kB / 16.36 MB, free: 5.875 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.365/1.365, allocations: 222.9 MB / 240 MB, free: 4.488 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.00129/0.00129, allocations: 196.5 kB / 290.3 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4395/0.4395, allocations: 78.53 MB / 419 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 83.86 kB / 498.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 68.16 MB / 0.5538 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2059/0.3345, allocations: 5.355 MB / 0.559 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.3377, allocations: 1.637 MB / 0.5606 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00087/0.3386, allocations: 10 kB / 0.5606 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.3394, allocations: 187.7 kB / 0.5608 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.3415, allocations: 0.6406 MB / 0.5614 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.3427, allocations: 0.4959 MB / 0.5619 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.3442, allocations: 1.099 MB / 0.563 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.3447, allocations: 266.2 kB / 0.5632 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006738/0.3453, allocations: 478.8 kB / 0.5637 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.3461, allocations: 0.6141 MB / 0.5643 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.3463, allocations: 88.77 kB / 0.5644 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005154/0.3468, allocations: 220.4 kB / 0.5646 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.3471, allocations: 246.3 kB / 0.5648 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.3476, allocations: 0.5087 MB / 0.5653 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.3489, allocations: 1.269 MB / 0.5665 GB, free: 35.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3489, allocations: 0 / 0.5665 GB, free: 35.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3489, allocations: 1 kB / 0.5665 GB, free: 35.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.697e-05/0.3489, allocations: 3.938 kB / 0.5666 GB, free: 35.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006315/0.3552, allocations: 2.178 MB / 0.5687 GB, free: 34.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3553, allocations: 8.625 kB / 0.5687 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/0.3593, allocations: 0.6394 MB / 0.5693 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3603, allocations: 0.6573 MB / 0.57 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.3605, allocations: 181.6 kB / 0.5701 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.3607, allocations: 64.88 kB / 0.5702 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.3623, allocations: 0.8788 MB / 0.571 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.3623, allocations: 0 / 0.571 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.3624, allocations: 24.66 kB / 0.5711 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.3624, allocations: 18.86 kB / 0.5711 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.3642, allocations: 0.9266 MB / 0.572 GB, free: 33.68 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.003844/0.3681, allocations: 2.468 MB / 0.5744 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3697, allocations: 1.12 MB / 0.5755 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.3707, allocations: 0.6601 MB / 0.5761 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.3708, allocations: 16.77 kB / 0.5762 GB, free: 32.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3708, allocations: 44.28 kB / 0.5762 GB, free: 32.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.347e-06/0.3709, allocations: 4.141 kB / 0.5762 GB, free: 32.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.01984/0.3907, allocations: 5.52 MB / 0.5816 GB, free: 31.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.3908, allocations: 61.84 kB / 0.5817 GB, free: 31.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.3918, allocations: 0.7647 MB / 0.5824 GB, free: 31.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.3921, allocations: 41.33 kB / 0.5824 GB, free: 31.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.3924, allocations: 400.3 kB / 0.5828 GB, free: 31.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.3927, allocations: 296.3 kB / 0.5831 GB, free: 30.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.393, allocations: 180 kB / 0.5833 GB, free: 30.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.3931, allocations: 353.5 kB / 0.5836 GB, free: 30.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.3943, allocations: 0.6208 MB / 0.5842 GB, free: 30.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.3957, allocations: 0.728 MB / 0.5849 GB, free: 29.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/0.4121, allocations: 4.22 MB / 0.589 GB, free: 28.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.4121, allocations: 0.9375 kB / 0.589 GB, free: 28.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01136/0.4235, allocations: 3.586 MB / 0.5926 GB, free: 27.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4236, allocations: 9.938 kB / 0.5926 GB, free: 27.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.4236, allocations: 2.125 kB / 0.5926 GB, free: 27.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.429, allocations: 1.505 MB / 0.594 GB, free: 27.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.4301, allocations: 185.4 kB / 0.5942 GB, free: 27.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.4478, allocations: 8.16 MB / 0.6022 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.4493, allocations: 143.7 kB / 0.6023 GB, free: 23.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4494, allocations: 36.48 kB / 0.6023 GB, free: 23.44 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.4498, allocations: 236 kB / 0.6026 GB, free: 23.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.45, allocations: 98.33 kB / 0.6027 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/0.4609, allocations: 3.401 MB / 0.606 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.4609, allocations: 11.94 kB / 0.606 GB, free: 22.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.461, allocations: 5.094 kB / 0.606 GB, free: 22.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.79e-05/0.461, allocations: 4.969 kB / 0.606 GB, free: 22.27 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 postOpt removeSimpleEquations (simulation): time 0.01193/0.4729, allocations: 4.772 MB / 0.6107 GB, free: 19.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/0.473, allocations: 2.562 kB / 0.6107 GB, free: 19.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.4736, allocations: 95.38 kB / 0.6108 GB, free: 19.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/0.4788, allocations: 1.532 MB / 0.6123 GB, free: 18.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.479, allocations: 16 kB / 0.6123 GB, free: 18.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.4926, allocations: 7.342 MB / 0.6194 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4927, allocations: 7.938 kB / 0.6195 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.5041, allocations: 4.279 MB / 0.6236 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/0.5046, allocations: 179.8 kB / 0.6238 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.5047, allocations: 12.81 kB / 0.6238 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/0.5056, allocations: 91.83 kB / 0.6239 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/0.5061, allocations: 176.5 kB / 0.6241 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/0.5062, allocations: 20 kB / 0.6241 GB, free: 6.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005707/0.5068, allocations: 0.5146 MB / 0.6246 GB, free: 5.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5068, allocations: 0 / 0.6246 GB, free: 5.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001282/0.5081, allocations: 383.6 kB / 0.625 GB, free: 5.16 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002739/0.5084, allocations: 119.1 kB / 0.6251 GB, free: 5.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005169/0.5135, allocations: 2.123 MB / 0.6271 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5136, allocations: 0 / 0.6271 GB, free: 2.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003373/0.517, allocations: 1.343 MB / 0.6285 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008286/0.5178, allocations: 80.95 kB / 0.6285 GB, free: 1.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.521, allocations: 1.743 MB / 0.6302 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.5216, allocations: 1.025 MB / 0.6312 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.522, allocations: 89.16 kB / 0.6313 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.5222, allocations: 55.42 kB / 0.6314 GB, free: 14.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.126e-06/0.5222, allocations: 0 / 0.6314 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Templates: time 0.03344/0.5556, allocations: 21.24 MB / 0.6521 GB, free: 9.539 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)