Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00154/0.00154, allocations: 105.8 kB / 16.37 MB, free: 5.547 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.29/1.29, allocations: 222.9 MB / 240 MB, free: 4.531 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.001213/0.001213, allocations: 192.5 kB / 290.3 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5257/0.5257, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 79.86 kB / 0.5033 GB, free: 6.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3361, allocations: 71.25 MB / 0.5729 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006394/0.3426, allocations: 5.384 MB / 0.5781 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.3459, allocations: 1.646 MB / 0.5797 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008347/0.3467, allocations: 8.062 kB / 0.5797 GB, free: 32.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.3475, allocations: 182.5 kB / 0.5799 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.3496, allocations: 0.6508 MB / 0.5806 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3507, allocations: 0.4956 MB / 0.581 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3522, allocations: 1.101 MB / 0.5821 GB, free: 31.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.3526, allocations: 265.5 kB / 0.5824 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007396/0.3534, allocations: 474.5 kB / 0.5828 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008441/0.3543, allocations: 0.6156 MB / 0.5834 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.3545, allocations: 85.16 kB / 0.5835 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.355, allocations: 224.8 kB / 0.5837 GB, free: 30.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.3553, allocations: 233 kB / 0.5839 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.3556, allocations: 0.5156 MB / 0.5844 GB, free: 30.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3567, allocations: 1.27 MB / 0.5857 GB, free: 29.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3567, allocations: 3.375 kB / 0.5857 GB, free: 29.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3567, allocations: 0 / 0.5857 GB, free: 29.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.695e-05/0.3568, allocations: 0 / 0.5857 GB, free: 29.79 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.006143/0.3629, allocations: 2.176 MB / 0.5878 GB, free: 28.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.363, allocations: 8.719 kB / 0.5878 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003897/0.3669, allocations: 0.6468 MB / 0.5885 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/0.3678, allocations: 0.6603 MB / 0.5891 GB, free: 28.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.3679, allocations: 176 kB / 0.5893 GB, free: 28.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3681, allocations: 69.91 kB / 0.5893 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3697, allocations: 0.8776 MB / 0.5902 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3698, allocations: 0 / 0.5902 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.3698, allocations: 29.34 kB / 0.5902 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3698, allocations: 17.84 kB / 0.5902 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.3716, allocations: 0.9233 MB / 0.5911 GB, free: 27.36 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.003677/0.3753, allocations: 2.464 MB / 0.5935 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.377, allocations: 1.125 MB / 0.5946 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3781, allocations: 0.6646 MB / 0.5953 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.3782, allocations: 15.58 kB / 0.5953 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3783, allocations: 47.94 kB / 0.5954 GB, free: 25.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/0.3783, allocations: 0 / 0.5954 GB, free: 25.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02052/0.3988, allocations: 5.529 MB / 0.6008 GB, free: 23.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3989, allocations: 60.25 kB / 0.6008 GB, free: 23.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4, allocations: 0.7618 MB / 0.6016 GB, free: 23.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.4001, allocations: 40.86 kB / 0.6016 GB, free: 23.49 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.4004, allocations: 395.3 kB / 0.602 GB, free: 23.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.4006, allocations: 303.2 kB / 0.6023 GB, free: 22.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.4009, allocations: 180.7 kB / 0.6024 GB, free: 22.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.527e-05/0.401, allocations: 351.7 kB / 0.6028 GB, free: 22.53 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4022, allocations: 0.621 MB / 0.6034 GB, free: 22.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.4035, allocations: 0.733 MB / 0.6041 GB, free: 21.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/0.4193, allocations: 4.212 MB / 0.6082 GB, free: 20.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4194, allocations: 4 kB / 0.6082 GB, free: 20.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01126/0.4307, allocations: 3.589 MB / 0.6117 GB, free: 19.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4307, allocations: 5.5 kB / 0.6117 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4307, allocations: 2.281 kB / 0.6117 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005048/0.4358, allocations: 1.503 MB / 0.6132 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/0.4368, allocations: 196.8 kB / 0.6134 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.452, allocations: 8.15 MB / 0.6213 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4533, allocations: 139.1 kB / 0.6215 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.4534, allocations: 35.98 kB / 0.6215 GB, free: 12.2 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.0003979/0.4538, allocations: 238 kB / 0.6217 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.454, allocations: 102.8 kB / 0.6218 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009055/0.463, allocations: 3.395 MB / 0.6251 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4631, allocations: 8 kB / 0.6251 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4631, allocations: 3.938 kB / 0.6252 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4631, allocations: 3.984 kB / 0.6252 GB, free: 8.43 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.0104/0.4735, allocations: 4.777 MB / 0.6298 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.4736, allocations: 3.984 kB / 0.6298 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.4741, allocations: 99.81 kB / 0.6299 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004617/0.4788, allocations: 1.526 MB / 0.6314 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/0.4789, allocations: 19.98 kB / 0.6314 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.4935, allocations: 7.33 MB / 0.6386 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4935, allocations: 7.875 kB / 0.6386 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/0.5054, allocations: 4.279 MB / 0.6428 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.5058, allocations: 183.7 kB / 0.6429 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.5059, allocations: 16 kB / 0.643 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007986/0.5067, allocations: 83.84 kB / 0.643 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/0.5072, allocations: 172.8 kB / 0.6432 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.5073, allocations: 20 kB / 0.6432 GB, free: 5.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006116/0.5079, allocations: 0.5146 MB / 0.6437 GB, free: 5.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5079, allocations: 0 / 0.6437 GB, free: 5.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001017/0.5089, allocations: 383.6 kB / 0.6441 GB, free: 4.723 MB / 446.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.0002495/0.5092, allocations: 133.8 kB / 0.6442 GB, free: 4.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.5143, allocations: 2.117 MB / 0.6463 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5143, allocations: 0 / 0.6463 GB, free: 2.449 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003415/0.5177, allocations: 1.341 MB / 0.6476 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006004/0.5183, allocations: 85.39 kB / 0.6477 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.5212, allocations: 1.734 MB / 0.6494 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.5217, allocations: 1.032 MB / 0.6504 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002864/0.522, allocations: 93.62 kB / 0.6505 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5222, allocations: 55.42 kB / 0.6505 GB, free: 14.05 MB / 462.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5222, allocations: 4 kB / 0.6505 GB, free: 14.05 MB / 462.1 MB Notification: Performance of Templates: time 0.02906/0.5513, allocations: 21.21 MB / 0.6712 GB, free: 8.875 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)