Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007778/0.007778, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.413/1.413, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001418/0.001418, allocations: 196.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5121/0.5121, allocations: 91.9 MB / 431.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 73.61 kB / 0.5728 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1701, allocations: 71.29 MB / 0.6425 GB, free: 3.465 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.02108/0.1912, allocations: 21.73 MB / 0.6637 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.2091, allocations: 4.849 MB / 0.6684 GB, free: 8.773 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00631/0.2155, allocations: 47.94 kB / 0.6685 GB, free: 8.727 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.2195, allocations: 0.8711 MB / 0.6693 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01002/0.2296, allocations: 2.04 MB / 0.6713 GB, free: 5.797 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006811/0.2365, allocations: 2.055 MB / 0.6733 GB, free: 3.773 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.247, allocations: 5.701 MB / 0.6789 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003305/0.2504, allocations: 1.321 MB / 0.6802 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.2549, allocations: 2.329 MB / 0.6824 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.2599, allocations: 2.936 MB / 0.6853 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002065/0.262, allocations: 436 kB / 0.6857 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.2648, allocations: 0.578 MB / 0.6863 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.2667, allocations: 1.151 MB / 0.6874 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004025/0.2708, allocations: 2.606 MB / 0.69 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008419/0.2792, allocations: 6.246 MB / 0.6961 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2793, allocations: 0 / 0.6961 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2793, allocations: 0 / 0.6961 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002483/0.2795, allocations: 0 / 0.6961 GB, free: 12.33 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.03088/0.3104, allocations: 9.314 MB / 0.7052 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3105, allocations: 16.03 kB / 0.7052 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02605/0.3365, allocations: 4.039 MB / 0.7091 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006234/0.3428, allocations: 2.681 MB / 0.7117 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009927/0.3438, allocations: 0.9612 MB / 0.7127 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/0.3449, allocations: 351.9 kB / 0.713 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009911/0.3548, allocations: 4.719 MB / 0.7176 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/0.3549, allocations: 3.938 kB / 0.7176 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003635/0.3553, allocations: 136 kB / 0.7178 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.3553, allocations: 84 kB / 0.7178 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008769/0.3641, allocations: 4.244 MB / 0.722 GB, free: 1.434 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.03434/0.3985, allocations: 18.22 MB / 0.7398 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.4106, allocations: 4.996 MB / 0.7447 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005934/0.4165, allocations: 2.779 MB / 0.7474 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000584/0.4172, allocations: 74.77 kB / 0.7474 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006609/0.4238, allocations: 3.173 MB / 0.7505 GB, free: 2.867 MB / 0.545 GB Notification: Performance of pre-optimization done (n=382): time 5.48e-06/0.4238, allocations: 0 / 0.7505 GB, free: 2.867 MB / 0.545 GB Notification: Performance of matching and sorting (n=382): time 0.6781/1.102, allocations: 68.22 MB / 0.8172 GB, free: 83.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.102, allocations: 143.8 kB / 0.8173 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004602/1.107, allocations: 3.228 MB / 0.8204 GB, free: 80.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001014/1.108, allocations: 87.95 kB / 0.8205 GB, free: 80.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/1.109, allocations: 2.007 MB / 0.8225 GB, free: 79.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001721/1.111, allocations: 1.371 MB / 0.8238 GB, free: 78.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/1.112, allocations: 0.6705 MB / 0.8245 GB, free: 77.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.25e-05/1.112, allocations: 301.1 kB / 0.8248 GB, free: 77.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004887/1.117, allocations: 2.581 MB / 0.8273 GB, free: 74.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005306/1.122, allocations: 3.205 MB / 0.8304 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0652/1.187, allocations: 18.75 MB / 0.8487 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.402e-05/1.187, allocations: 4 kB / 0.8487 GB, free: 52.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.05163/1.239, allocations: 16.96 MB / 0.8653 GB, free: 35.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/1.239, allocations: 63.41 kB / 0.8653 GB, free: 35.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.239, allocations: 16 kB / 0.8654 GB, free: 35.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02427/1.263, allocations: 7.229 MB / 0.8724 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003326/1.267, allocations: 0.6631 MB / 0.8731 GB, free: 27.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08232/1.349, allocations: 33.77 MB / 0.906 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00636/1.356, allocations: 0.6221 MB / 0.9067 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/1.357, allocations: 156 kB / 0.9068 GB, free: 8.73 MB / 0.5762 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 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 (398): * Single equations (assignments): 395 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,45)} Notification: Performance of prepare postOptimizeDAE: time 0.002864/1.359, allocations: 0.6687 MB / 0.9075 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001503/1.361, allocations: 477 kB / 0.9079 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05591/1.417, allocations: 16.84 MB / 0.9244 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/1.417, allocations: 36 kB / 0.9244 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-05/1.417, allocations: 32 kB / 0.9244 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001149/1.417, allocations: 19.94 kB / 0.9244 GB, free: 6.598 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.06347/1.481, allocations: 21.83 MB / 0.9458 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.481, allocations: 3.984 kB / 0.9458 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.483, allocations: 387.5 kB / 0.9461 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02604/1.509, allocations: 7.371 MB / 0.9533 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/1.51, allocations: 71.98 kB / 0.9534 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08671/1.597, allocations: 31.84 MB / 0.9845 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/1.597, allocations: 3.938 kB / 0.9845 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06611/1.663, allocations: 20.23 MB / 1.004 GB, free: 4.473 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.665, allocations: 0.5788 MB / 1.005 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.666, allocations: 64 kB / 1.005 GB, free: 3.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004044/1.67, allocations: 379.7 kB / 1.005 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003189/1.674, allocations: 0.7805 MB / 1.006 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.674, allocations: 103.9 kB / 1.006 GB, free: 2.609 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003113/1.677, allocations: 2.117 MB / 1.008 GB, free: 500 kB / 0.67 GB Notification: Performance of sort global known variables: time 2.7e-07/1.677, allocations: 0 / 1.008 GB, free: 500 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.005621/1.683, allocations: 1.795 MB / 1.01 GB, free: 14.75 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,36,5.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.0005366/1.683, allocations: 205.9 kB / 1.01 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02604/1.709, allocations: 9.298 MB / 1.019 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.709, allocations: 2 kB / 1.019 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01997/1.729, allocations: 6.203 MB / 1.025 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.735, allocations: 392 kB / 1.026 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01691/1.752, allocations: 7.938 MB / 1.033 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.754, allocations: 2.447 MB / 1.036 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001695/1.756, allocations: 371.1 kB / 1.036 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/1.757, allocations: 247.4 kB / 1.036 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of SimCode: time 2.104e-06/1.757, allocations: 0 / 1.036 GB, free: 3.504 MB / 0.7012 GB Notification: Performance of Templates: time 0.5145/2.272, allocations: 93.15 MB / 1.127 GB, free: 177.1 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)