Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.004912/0.004912, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.352/1.352, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.0008522, allocations: 98.3 kB / 290.2 MB, free: 13.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.491/0.491, allocations: 78.58 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 8 kB / 499.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4246, allocations: 69.35 MB / 0.5558 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.5603, allocations: 101.5 MB / 0.6549 GB, free: 5.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5606, allocations: 79.95 kB / 0.6549 GB, free: 5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2453/0.8059, allocations: 100.2 MB / 0.7528 GB, free: 156 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/0.806, allocations: 0 / 0.7528 GB, free: 156 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002432/0.8062, allocations: 87.94 kB / 0.7529 GB, free: 68 kB / 0.5417 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.02111/0.8273, allocations: 6.554 MB / 0.7593 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8274, allocations: 8.031 kB / 0.7593 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01834/0.8457, allocations: 2.807 MB / 0.762 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007292/0.8531, allocations: 2.264 MB / 0.7642 GB, free: 4.258 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001203/0.8543, allocations: 0.9924 MB / 0.7652 GB, free: 3.129 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/0.8561, allocations: 351.8 kB / 0.7655 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3102/1.166, allocations: 4.92 MB / 0.7704 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.089e-05/1.166, allocations: 0.625 kB / 0.7704 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/1.167, allocations: 141 kB / 0.7705 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.352e-05/1.167, allocations: 85.41 kB / 0.7706 GB, free: 91.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/1.181, allocations: 4.484 MB / 0.7749 GB, free: 91.13 MB / 0.5573 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.04134/1.222, allocations: 18.58 MB / 0.7931 GB, free: 84.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01319/1.235, allocations: 5.655 MB / 0.7986 GB, free: 84.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008227/1.236, allocations: 78.23 kB / 0.7987 GB, free: 84.31 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008288/1.244, allocations: 3.416 MB / 0.802 GB, free: 84.17 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 1.02e-05/1.244, allocations: 3.609 kB / 0.802 GB, free: 84.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.2941/1.538, allocations: 78.4 MB / 0.8786 GB, free: 79.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/1.539, allocations: 144.4 kB / 0.8787 GB, free: 79.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/1.543, allocations: 2.716 MB / 0.8814 GB, free: 77.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009425/1.544, allocations: 86.45 kB / 0.8815 GB, free: 77.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/1.545, allocations: 2.006 MB / 0.8834 GB, free: 76.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001496/1.546, allocations: 1.291 MB / 0.8847 GB, free: 75.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.547, allocations: 76 kB / 0.8848 GB, free: 75.65 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.547, allocations: 445.4 kB / 0.8852 GB, free: 75.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004763/1.552, allocations: 2.657 MB / 0.8878 GB, free: 72.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005026/1.557, allocations: 3.235 MB / 0.8909 GB, free: 69.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/1.562, allocations: 2.9 MB / 0.8938 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/1.562, allocations: 8 kB / 0.8938 GB, free: 66.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.05128/1.613, allocations: 20.17 MB / 0.9135 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/1.613, allocations: 64.97 kB / 0.9135 GB, free: 46.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/1.613, allocations: 20 kB / 0.9135 GB, free: 46.33 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02522/1.638, allocations: 8.553 MB / 0.9219 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/1.641, allocations: 0.5637 MB / 0.9225 GB, free: 37.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07737/1.719, allocations: 37.1 MB / 0.9587 GB, free: 60 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006232/1.725, allocations: 0.6998 MB / 0.9594 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.726, allocations: 136 kB / 0.9595 GB, free: 15.22 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order3_1.e1q:VARIABLE(start = order3_1.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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.002675/1.729, allocations: 0.6464 MB / 0.9601 GB, free: 14.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.73, allocations: 458.3 kB / 0.9606 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05799/1.788, allocations: 20.55 MB / 0.9806 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/1.788, allocations: 36 kB / 0.9807 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-05/1.788, allocations: 28 kB / 0.9807 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00013/1.788, allocations: 19.92 kB / 0.9807 GB, free: 9.453 MB / 0.5886 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.384/2.172, allocations: 25.49 MB / 1.006 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/2.173, allocations: 3.312 kB / 1.006 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/2.175, allocations: 388.1 kB / 1.006 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02664/2.202, allocations: 8.616 MB / 1.014 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/2.203, allocations: 71.42 kB / 1.014 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08215/2.285, allocations: 34.33 MB / 1.048 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.285, allocations: 0 / 1.048 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0639/2.349, allocations: 24.19 MB / 1.072 GB, free: 101 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/2.351, allocations: 0.5576 MB / 1.072 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/2.353, allocations: 63.34 kB / 1.072 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004744/2.358, allocations: 494.5 kB / 1.073 GB, free: 100.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00336/2.361, allocations: 0.7861 MB / 1.073 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004129/2.361, allocations: 95.27 kB / 1.074 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003285/2.365, allocations: 2.075 MB / 1.076 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/2.365, allocations: 0 / 1.076 GB, free: 99.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006306/2.371, allocations: 1.756 MB / 1.077 GB, free: 99.43 MB / 0.5886 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 (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.000641/2.372, allocations: 222.1 kB / 1.078 GB, free: 99.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02478/2.396, allocations: 9.938 MB / 1.087 GB, free: 96.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.397, allocations: 0 / 1.087 GB, free: 96.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01985/2.416, allocations: 7.02 MB / 1.094 GB, free: 94.09 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/2.42, allocations: 306.6 kB / 1.094 GB, free: 93.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01583/2.436, allocations: 9.583 MB / 1.104 GB, free: 87.55 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/2.438, allocations: 2.528 MB / 1.106 GB, free: 85.67 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001785/2.44, allocations: 298.2 kB / 1.106 GB, free: 85.46 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007621/2.44, allocations: 201 kB / 1.107 GB, free: 85.29 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/2.44, allocations: 0 / 1.107 GB, free: 85.29 MB / 0.5886 GB Notification: Performance of Templates: time 0.1186/2.559, allocations: 78.28 MB / 1.183 GB, free: 26.78 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)