Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008358/0.008359, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.404/1.404, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001345/0.001344, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5397/0.5397, allocations: 91.9 MB / 431.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 80.97 kB / 0.5728 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 71.28 MB / 0.6424 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01935/0.1791, allocations: 21.83 MB / 0.6638 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1914, allocations: 4.857 MB / 0.6685 GB, free: 8.672 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005356/0.1968, allocations: 40 kB / 0.6686 GB, free: 8.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.2002, allocations: 0.8828 MB / 0.6694 GB, free: 7.742 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008595/0.2088, allocations: 2.291 MB / 0.6717 GB, free: 5.441 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005722/0.2145, allocations: 2.055 MB / 0.6737 GB, free: 3.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009518/0.224, allocations: 5.72 MB / 0.6792 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003184/0.2272, allocations: 1.318 MB / 0.6805 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/0.2319, allocations: 2.322 MB / 0.6828 GB, free: 9.973 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.2381, allocations: 2.932 MB / 0.6857 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002185/0.2403, allocations: 436 kB / 0.6861 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.2432, allocations: 0.5819 MB / 0.6866 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00215/0.2454, allocations: 1.147 MB / 0.6878 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004976/0.2504, allocations: 2.614 MB / 0.6903 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009815/0.2602, allocations: 6.212 MB / 0.6964 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2603, allocations: 0 / 0.6964 GB, free: 12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2603, allocations: 0 / 0.6964 GB, free: 12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003024/0.2606, allocations: 4 kB / 0.6964 GB, free: 12 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.03418/0.2948, allocations: 9.15 MB / 0.7053 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.2949, allocations: 12.03 kB / 0.7053 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/0.322, allocations: 4.009 MB / 0.7093 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006791/0.3288, allocations: 2.651 MB / 0.7118 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/0.33, allocations: 0.9573 MB / 0.7128 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.3315, allocations: 344 kB / 0.7131 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.3453, allocations: 4.735 MB / 0.7177 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.3454, allocations: 7.922 kB / 0.7177 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009926/0.3464, allocations: 144 kB / 0.7179 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-05/0.3465, allocations: 84 kB / 0.718 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.3572, allocations: 4.24 MB / 0.7221 GB, free: 1.32 MB / 0.5137 GB 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.03926/0.3965, allocations: 18.22 MB / 0.7399 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.4097, allocations: 4.995 MB / 0.7448 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006419/0.4162, allocations: 2.783 MB / 0.7475 GB, free: 6.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.4169, allocations: 70.83 kB / 0.7475 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007735/0.4246, allocations: 3.171 MB / 0.7506 GB, free: 2.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 8.285e-06/0.4246, allocations: 0 / 0.7506 GB, free: 2.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.7/1.125, allocations: 68.04 MB / 0.8171 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/1.125, allocations: 148.8 kB / 0.8172 GB, free: 83.24 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004215/1.129, allocations: 3.216 MB / 0.8204 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007791/1.13, allocations: 91.08 kB / 0.8205 GB, free: 80.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.131, allocations: 1.966 MB / 0.8224 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.132, allocations: 1.318 MB / 0.8237 GB, free: 78.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/1.133, allocations: 0.6743 MB / 0.8243 GB, free: 77.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/1.133, allocations: 305.1 kB / 0.8246 GB, free: 77.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004631/1.138, allocations: 2.585 MB / 0.8271 GB, free: 74.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/1.143, allocations: 3.205 MB / 0.8303 GB, free: 71.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0624/1.205, allocations: 18.78 MB / 0.8486 GB, free: 52.13 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/1.205, allocations: 8 kB / 0.8486 GB, free: 52.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05133/1.257, allocations: 17.24 MB / 0.8655 GB, free: 34.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/1.257, allocations: 63.41 kB / 0.8655 GB, free: 34.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/1.257, allocations: 17.64 kB / 0.8655 GB, free: 34.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/1.28, allocations: 7.157 MB / 0.8725 GB, free: 27.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003663/1.283, allocations: 0.6748 MB / 0.8732 GB, free: 26.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08827/1.372, allocations: 33.27 MB / 0.9057 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006757/1.378, allocations: 0.6211 MB / 0.9063 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.38, allocations: 152 kB / 0.9064 GB, free: 8.684 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (403): * Single equations (assignments): 400 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00353/1.383, allocations: 0.6741 MB / 0.9071 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.385, allocations: 458.2 kB / 0.9075 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0592/1.444, allocations: 16.84 MB / 0.924 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/1.444, allocations: 36 kB / 0.924 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001118/1.445, allocations: 31.94 kB / 0.924 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/1.445, allocations: 23.92 kB / 0.9241 GB, free: 6.543 MB / 0.5919 GB 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.06985/1.515, allocations: 21.83 MB / 0.9454 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.369e-05/1.515, allocations: 4 kB / 0.9454 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.517, allocations: 393.4 kB / 0.9458 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02717/1.544, allocations: 7.341 MB / 0.9529 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001108/1.546, allocations: 73.56 kB / 0.953 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09199/1.638, allocations: 31.8 MB / 0.984 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.638, allocations: 0 / 0.984 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06716/1.705, allocations: 20.21 MB / 1.004 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/1.706, allocations: 0.5531 MB / 1.004 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.707, allocations: 67.94 kB / 1.004 GB, free: 3.789 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004325/1.712, allocations: 383.5 kB / 1.005 GB, free: 3.414 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00296/1.715, allocations: 0.7861 MB / 1.006 GB, free: 2.629 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003094/1.715, allocations: 96.09 kB / 1.006 GB, free: 2.535 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00308/1.718, allocations: 2.105 MB / 1.008 GB, free: 436 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/1.718, allocations: 0 / 1.008 GB, free: 436 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.005799/1.724, allocations: 1.801 MB / 1.009 GB, free: 14.62 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007717/1.725, allocations: 198.8 kB / 1.01 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02726/1.752, allocations: 9.15 MB / 1.019 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.752, allocations: 128 / 1.019 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.02181/1.774, allocations: 6.139 MB / 1.025 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/1.78, allocations: 392.4 kB / 1.025 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.797, allocations: 7.846 MB / 1.033 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002227/1.799, allocations: 2.445 MB / 1.035 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001856/1.801, allocations: 379.1 kB / 1.035 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/1.802, allocations: 247.4 kB / 1.036 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of SimCode: time 1.233e-06/1.802, allocations: 0 / 1.036 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of Templates: time 0.4585/2.26, allocations: 89.61 MB / 1.123 GB, free: 180.8 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)