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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001458, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008464, allocations: 96.11 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.464/0.464, allocations: 78.91 MB / 415.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.513e-05, allocations: 4 kB / 492.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 69.5 MB / 0.5491 GB, free: 19.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4673, allocations: 102.1 MB / 0.6488 GB, free: 13.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.4676, allocations: 83.89 kB / 0.6489 GB, free: 13.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.548/1.016, allocations: 101.8 MB / 0.7483 GB, free: 59.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.016, allocations: 0 / 0.7483 GB, free: 59.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004041/1.016, allocations: 83.94 kB / 0.7484 GB, free: 59.01 MB / 490.7 MB 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.01769/1.034, allocations: 5.745 MB / 0.754 GB, free: 53.19 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.034, allocations: 15.97 kB / 0.754 GB, free: 53.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/1.05, allocations: 2.787 MB / 0.7567 GB, free: 50.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005507/1.056, allocations: 2.233 MB / 0.7589 GB, free: 48.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008953/1.057, allocations: 0.9807 MB / 0.7599 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/1.058, allocations: 340 kB / 0.7602 GB, free: 46.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009459/1.067, allocations: 4.08 MB / 0.7642 GB, free: 42.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/1.068, allocations: 3.953 kB / 0.7642 GB, free: 42.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007885/1.068, allocations: 140 kB / 0.7643 GB, free: 42.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/1.068, allocations: 84 kB / 0.7644 GB, free: 42.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007341/1.076, allocations: 3.617 MB / 0.7679 GB, free: 38.66 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.03086/1.107, allocations: 18.58 MB / 0.7861 GB, free: 18.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/1.117, allocations: 4.797 MB / 0.7907 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/1.12, allocations: 2.22 MB / 0.7929 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/1.12, allocations: 70.89 kB / 0.793 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003969/1.124, allocations: 2.596 MB / 0.7955 GB, free: 9.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 6.642e-06/1.124, allocations: 0 / 0.7955 GB, free: 9.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.05177/1.176, allocations: 17.58 MB / 0.8127 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.176, allocations: 149.8 kB / 0.8128 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005415/1.182, allocations: 2.646 MB / 0.8154 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009606/1.183, allocations: 97.62 kB / 0.8155 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.184, allocations: 2.006 MB / 0.8175 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002441/1.187, allocations: 1.297 MB / 0.8187 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006759/1.187, allocations: 72.03 kB / 0.8188 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003357/1.188, allocations: 445.7 kB / 0.8192 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/1.192, allocations: 1.835 MB / 0.821 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/1.195, allocations: 2.402 MB / 0.8234 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/1.199, allocations: 2.1 MB / 0.8254 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-05/1.199, allocations: 4 kB / 0.8254 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05394/1.253, allocations: 17.74 MB / 0.8427 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/1.253, allocations: 67.41 kB / 0.8428 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.253, allocations: 16 kB / 0.8428 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02407/1.277, allocations: 6.977 MB / 0.8496 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/1.28, allocations: 0.5617 MB / 0.8502 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0601/1.341, allocations: 25.78 MB / 0.8753 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/1.347, allocations: 0.7191 MB / 0.876 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006681/1.348, allocations: 132 kB / 0.8762 GB, free: 5.852 MB / 0.5573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (329): * Single equations (assignments): 326 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009599/1.349, allocations: 330.9 kB / 0.8765 GB, free: 5.512 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.35, allocations: 458.4 kB / 0.8769 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05517/1.405, allocations: 18.12 MB / 0.8946 GB, free: 2.867 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/1.405, allocations: 43.94 kB / 0.8947 GB, free: 2.824 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/1.405, allocations: 28 kB / 0.8947 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001172/1.405, allocations: 15.94 kB / 0.8947 GB, free: 2.781 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or 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.3775/1.783, allocations: 23.08 MB / 0.9172 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/1.783, allocations: 2.438 kB / 0.9172 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.785, allocations: 390.9 kB / 0.9176 GB, free: 134.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02168/1.807, allocations: 7.028 MB / 0.9245 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/1.808, allocations: 71.62 kB / 0.9245 GB, free: 134 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06051/1.869, allocations: 24.49 MB / 0.9485 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.869, allocations: 0 / 0.9485 GB, free: 127.7 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06969/1.939, allocations: 20.95 MB / 0.9689 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002237/1.941, allocations: 0.5582 MB / 0.9695 GB, free: 117.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/1.942, allocations: 67.95 kB / 0.9695 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008816/1.951, allocations: 0.5078 MB / 0.97 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004828/1.956, allocations: 0.78 MB / 0.9708 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006752/1.957, allocations: 91.84 kB / 0.9709 GB, free: 116.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005693/1.963, allocations: 2.015 MB / 0.9728 GB, free: 114.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.7e-07/1.963, allocations: 0 / 0.9728 GB, free: 114.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009513/1.972, allocations: 1.751 MB / 0.9746 GB, free: 112.9 MB / 0.573 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/1.973, allocations: 217.4 kB / 0.9748 GB, free: 112.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02921/2.003, allocations: 8.214 MB / 0.9828 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/2.003, allocations: 0.8125 kB / 0.9828 GB, free: 105.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01774/2.02, allocations: 6.113 MB / 0.9888 GB, free: 99.83 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003978/2.024, allocations: 305.4 kB / 0.989 GB, free: 99.54 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/2.038, allocations: 5.825 MB / 0.9947 GB, free: 94.22 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/2.04, allocations: 2.533 MB / 0.9972 GB, free: 92.34 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001541/2.042, allocations: 292.8 kB / 0.9975 GB, free: 92.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007594/2.043, allocations: 201.4 kB / 0.9977 GB, free: 91.95 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/2.043, allocations: 0 / 0.9977 GB, free: 91.95 MB / 0.573 GB Notification: Performance of Templates: time 0.09961/2.142, allocations: 78.13 MB / 1.074 GB, free: 27.44 MB / 0.573 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)