Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.438/1.438, allocations: 222.9 MB / 239 MB, free: 4.715 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.001519/0.001519, allocations: 180.5 kB / 289.2 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5519/0.5519, allocations: 91.89 MB / 431.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001776, allocations: 75.88 kB / 0.5014 GB, free: 8.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4648, allocations: 71.27 MB / 0.571 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.005746/0.4706, allocations: 6.524 MB / 0.5773 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.4742, allocations: 1.903 MB / 0.5792 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007407/0.4749, allocations: 10.72 kB / 0.5792 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.4756, allocations: 164.6 kB / 0.5794 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.4774, allocations: 0.6718 MB / 0.58 GB, free: 30.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.4786, allocations: 0.546 MB / 0.5806 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.4798, allocations: 1.373 MB / 0.5819 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003804/0.4802, allocations: 284.8 kB / 0.5822 GB, free: 29.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005459/0.4807, allocations: 0.5827 MB / 0.5827 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00059/0.4813, allocations: 0.7529 MB / 0.5835 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4815, allocations: 102.6 kB / 0.5836 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.4819, allocations: 242 kB / 0.5838 GB, free: 29.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.4821, allocations: 286.6 kB / 0.5841 GB, free: 28.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.4825, allocations: 0.6174 MB / 0.5847 GB, free: 28.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.4836, allocations: 1.474 MB / 0.5861 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4836, allocations: 0 / 0.5861 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4836, allocations: 0 / 0.5861 GB, free: 27.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4836, allocations: 2.219 kB / 0.5861 GB, free: 27.91 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.007745/0.4914, allocations: 2.482 MB / 0.5885 GB, free: 26.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4914, allocations: 13.31 kB / 0.5886 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/0.4963, allocations: 0.7673 MB / 0.5893 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4975, allocations: 0.7865 MB / 0.5901 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.4978, allocations: 256.5 kB / 0.5903 GB, free: 25.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.498, allocations: 77.94 kB / 0.5904 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.5005, allocations: 1.175 MB / 0.5915 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5006, allocations: 3.938 kB / 0.5915 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.848e-05/0.5007, allocations: 26.06 kB / 0.5916 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.5007, allocations: 16.91 kB / 0.5916 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.5027, allocations: 0.9602 MB / 0.5925 GB, free: 25 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.005995/0.5087, allocations: 3.585 MB / 0.596 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007594/0.5163, allocations: 2.297 MB / 0.5983 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5178, allocations: 0.6508 MB / 0.5989 GB, free: 21.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5179, allocations: 25.02 kB / 0.5989 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5179, allocations: 40.03 kB / 0.599 GB, free: 21.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.434e-06/0.5179, allocations: 0 / 0.599 GB, free: 21.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.02959/0.5475, allocations: 6.873 MB / 0.6057 GB, free: 20.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.5477, allocations: 97.84 kB / 0.6058 GB, free: 20.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.5492, allocations: 0.9637 MB / 0.6067 GB, free: 19.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000174/0.5493, allocations: 49.48 kB / 0.6068 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.5496, allocations: 460.6 kB / 0.6072 GB, free: 19.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.55, allocations: 310.4 kB / 0.6075 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/0.5504, allocations: 256.1 kB / 0.6077 GB, free: 19.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.5505, allocations: 303.1 kB / 0.608 GB, free: 18.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.5519, allocations: 0.6979 MB / 0.6087 GB, free: 18.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.5535, allocations: 0.9167 MB / 0.6096 GB, free: 18.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02364/0.5772, allocations: 5.073 MB / 0.6146 GB, free: 16.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/0.5773, allocations: 1.156 kB / 0.6146 GB, free: 16.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01228/0.5895, allocations: 4.136 MB / 0.6186 GB, free: 13.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.5896, allocations: 11.94 kB / 0.6186 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.5896, allocations: 4 kB / 0.6186 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004861/0.5945, allocations: 1.517 MB / 0.6201 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5958, allocations: 263.6 kB / 0.6203 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.6126, allocations: 8.268 MB / 0.6284 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.6146, allocations: 175 kB / 0.6286 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.6148, allocations: 59.97 kB / 0.6286 GB, free: 2.953 MB / 430.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * 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): 1 system {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006376/0.6154, allocations: 262.5 kB / 0.6289 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009455/0.6164, allocations: 328.9 kB / 0.6292 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.6275, allocations: 3.592 MB / 0.6327 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/0.6276, allocations: 12 kB / 0.6327 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.6276, allocations: 11.94 kB / 0.6327 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.6276, allocations: 7.969 kB / 0.6327 GB, free: 14.72 MB / 446.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.01514/0.6428, allocations: 5.139 MB / 0.6378 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.6428, allocations: 3.938 kB / 0.6378 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.6435, allocations: 107.8 kB / 0.6379 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005646/0.6492, allocations: 1.586 MB / 0.6394 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.6493, allocations: 16 kB / 0.6394 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/0.6694, allocations: 10.77 MB / 0.65 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6695, allocations: 4 kB / 0.65 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.684, allocations: 4.601 MB / 0.6544 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005115/0.6846, allocations: 211.5 kB / 0.6546 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6848, allocations: 16 kB / 0.6547 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.6858, allocations: 87.91 kB / 0.6547 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005522/0.6864, allocations: 172.8 kB / 0.6549 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.6865, allocations: 27.98 kB / 0.6549 GB, free: 7.484 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008177/0.6873, allocations: 0.6434 MB / 0.6556 GB, free: 6.832 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6873, allocations: 0 / 0.6556 GB, free: 6.832 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001365/0.6887, allocations: 435.6 kB / 0.656 GB, free: 6.406 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000279/0.689, allocations: 143 kB / 0.6561 GB, free: 6.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006388/0.6954, allocations: 2.315 MB / 0.6584 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.6954, allocations: 0 / 0.6584 GB, free: 3.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004101/0.6995, allocations: 1.318 MB / 0.6597 GB, free: 2.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7013, allocations: 355.7 kB / 0.66 GB, free: 2.234 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004346/0.7056, allocations: 2.461 MB / 0.6624 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.7063, allocations: 1.08 MB / 0.6635 GB, free: 14.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004063/0.7067, allocations: 95.33 kB / 0.6636 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.707, allocations: 79.41 kB / 0.6636 GB, free: 14.47 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.707, allocations: 0 / 0.6636 GB, free: 14.47 MB / 478.1 MB Notification: Performance of Templates: time 0.04582/0.7528, allocations: 20.78 MB / 0.6839 GB, free: 9.688 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1)