Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008119/0.0008121, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.324/1.324, allocations: 223.3 MB / 239.4 MB, free: 5.348 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.0009229/0.000923, allocations: 176.6 kB / 290.6 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5403/0.5403, allocations: 91.92 MB / 433.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003991/0.0003992, allocations: 8 kB / 0.5048 GB, free: 7.262 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3879, allocations: 72.47 MB / 0.5755 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.004906/0.3928, allocations: 6.415 MB / 0.5818 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.3967, allocations: 1.991 MB / 0.5837 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008711/0.3976, allocations: 12.03 kB / 0.5837 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006816/0.3982, allocations: 198.8 kB / 0.5839 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.4002, allocations: 0.7115 MB / 0.5846 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.4014, allocations: 0.5847 MB / 0.5852 GB, free: 30.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.4028, allocations: 1.499 MB / 0.5867 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.4032, allocations: 285.5 kB / 0.5869 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006879/0.4039, allocations: 0.565 MB / 0.5875 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.4046, allocations: 0.7461 MB / 0.5882 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.4047, allocations: 59.41 kB / 0.5883 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.4053, allocations: 190.9 kB / 0.5885 GB, free: 28.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002345/0.4055, allocations: 256.8 kB / 0.5887 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.406, allocations: 0.6293 MB / 0.5893 GB, free: 28.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4074, allocations: 1.551 MB / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4074, allocations: 1.25 kB / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4074, allocations: 0 / 0.5908 GB, free: 27.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.4074, allocations: 0 / 0.5908 GB, free: 27.6 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00867/0.4161, allocations: 2.487 MB / 0.5933 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4162, allocations: 10.12 kB / 0.5933 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005393/0.4216, allocations: 0.7795 MB / 0.594 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.4236, allocations: 0.8848 MB / 0.5949 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002989/0.4239, allocations: 272.2 kB / 0.5952 GB, free: 25.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.4241, allocations: 86.09 kB / 0.5952 GB, free: 25.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.4265, allocations: 1.152 MB / 0.5964 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.4265, allocations: 0 / 0.5964 GB, free: 25.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.4266, allocations: 30.41 kB / 0.5964 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.4266, allocations: 18.84 kB / 0.5964 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.4287, allocations: 1.054 MB / 0.5974 GB, free: 24.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.007247/0.436, allocations: 3.932 MB / 0.6013 GB, free: 22.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.4442, allocations: 2.905 MB / 0.6041 GB, free: 21.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.446, allocations: 0.7395 MB / 0.6048 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.4461, allocations: 20 kB / 0.6049 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001787/0.4479, allocations: 0.8844 MB / 0.6057 GB, free: 20.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.855e-06/0.4479, allocations: 0 / 0.6057 GB, free: 20.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03369/0.4816, allocations: 8.663 MB / 0.6142 GB, free: 19.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.4818, allocations: 121.9 kB / 0.6143 GB, free: 19.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.484, allocations: 1.08 MB / 0.6154 GB, free: 18.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.4843, allocations: 45.89 kB / 0.6154 GB, free: 18.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.4847, allocations: 0.4901 MB / 0.6159 GB, free: 18.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000426/0.4852, allocations: 361.1 kB / 0.6162 GB, free: 18.1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.4854, allocations: 153.7 kB / 0.6164 GB, free: 18.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.4855, allocations: 302.7 kB / 0.6167 GB, free: 17.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4873, allocations: 0.8228 MB / 0.6175 GB, free: 17.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.4893, allocations: 0.9987 MB / 0.6184 GB, free: 16.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02286/0.5121, allocations: 5.999 MB / 0.6243 GB, free: 11.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.5122, allocations: 4 kB / 0.6243 GB, free: 11.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0135/0.5257, allocations: 5.172 MB / 0.6293 GB, free: 5.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.809e-05/0.5258, allocations: 63.39 kB / 0.6294 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.5258, allocations: 4 kB / 0.6294 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005404/0.5313, allocations: 1.786 MB / 0.6312 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.5328, allocations: 291.6 kB / 0.6314 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.5522, allocations: 8.621 MB / 0.6399 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.5548, allocations: 246.8 kB / 0.6401 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.555, allocations: 55.97 kB / 0.6401 GB, free: 10.73 MB / 446.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: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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.0008197/0.5558, allocations: 305.2 kB / 0.6404 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.5561, allocations: 130.4 kB / 0.6406 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/0.5707, allocations: 4.709 MB / 0.6452 GB, free: 5.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.5707, allocations: 12 kB / 0.6452 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/0.5707, allocations: 11.94 kB / 0.6452 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/0.5708, allocations: 3.984 kB / 0.6452 GB, free: 5.523 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.01696/0.5878, allocations: 6.313 MB / 0.6513 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.5878, allocations: 0 / 0.6513 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006845/0.5885, allocations: 99.84 kB / 0.6514 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006182/0.5947, allocations: 1.879 MB / 0.6533 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.595, allocations: 19.98 kB / 0.6533 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/0.6158, allocations: 9.687 MB / 0.6628 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6159, allocations: 0 / 0.6628 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/0.6326, allocations: 5.651 MB / 0.6683 GB, free: 13.44 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006654/0.6333, allocations: 223.4 kB / 0.6685 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/0.6335, allocations: 20 kB / 0.6685 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6348, allocations: 135.9 kB / 0.6686 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006545/0.6355, allocations: 200.6 kB / 0.6688 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.6356, allocations: 27.98 kB / 0.6689 GB, free: 12.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.6368, allocations: 0.7235 MB / 0.6696 GB, free: 12.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6368, allocations: 0 / 0.6696 GB, free: 12.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001838/0.6386, allocations: 479.4 kB / 0.67 GB, free: 11.62 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003383/0.639, allocations: 143.2 kB / 0.6702 GB, free: 11.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006797/0.6458, allocations: 2.779 MB / 0.6729 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.6458, allocations: 0 / 0.6729 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004821/0.6506, allocations: 1.809 MB / 0.6746 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6519, allocations: 116.5 kB / 0.6747 GB, free: 6.695 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.656, allocations: 2.765 MB / 0.6774 GB, free: 3.906 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.6567, allocations: 1.124 MB / 0.6785 GB, free: 2.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004744/0.6572, allocations: 120 kB / 0.6787 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.6574, allocations: 75.42 kB / 0.6787 GB, free: 2.555 MB / 478.1 MB Notification: Performance of SimCode: time 2.305e-06/0.6574, allocations: 0 / 0.6787 GB, free: 2.555 MB / 478.1 MB Notification: Performance of Templates: time 0.03439/0.6918, allocations: 20.96 MB / 0.6992 GB, free: 13.63 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)