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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008633/0.0008633, allocations: 91.84 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4872/0.4872, allocations: 78.93 MB / 410.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.926e-05, allocations: 4 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1578, allocations: 69.52 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5911, allocations: 102.2 MB / 0.6423 GB, free: 11.88 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.5914, allocations: 81.98 kB / 0.6424 GB, free: 11.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2473/0.8386, allocations: 101 MB / 0.741 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.115e-06/0.8387, allocations: 0 / 0.741 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002182/0.8389, allocations: 95.88 kB / 0.7411 GB, free: 6.332 MB / 0.5417 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.01682/0.8558, allocations: 5.735 MB / 0.7467 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8558, allocations: 8.031 kB / 0.7467 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01763/0.8735, allocations: 2.772 MB / 0.7494 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005721/0.8792, allocations: 2.274 MB / 0.7516 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000932/0.8802, allocations: 0.8675 MB / 0.7525 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.8813, allocations: 204 kB / 0.7526 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007017/0.8883, allocations: 3.435 MB / 0.756 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/0.8954, allocations: 3.586 MB / 0.7595 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.8954, allocations: 0 / 0.7595 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/0.8958, allocations: 4 kB / 0.7595 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.218e-05/0.8959, allocations: 85.5 kB / 0.7596 GB, free: 3.039 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.3867/1.283, allocations: 18.06 MB / 0.7772 GB, free: 86.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.293, allocations: 4.696 MB / 0.7818 GB, free: 86.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/1.297, allocations: 2.111 MB / 0.7839 GB, free: 86.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005034/1.297, allocations: 73.53 kB / 0.7839 GB, free: 86.15 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004123/1.301, allocations: 2.48 MB / 0.7864 GB, free: 86.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 7.534e-06/1.301, allocations: 1.641 kB / 0.7864 GB, free: 86.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.0578/1.359, allocations: 17.28 MB / 0.8032 GB, free: 85.15 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/1.359, allocations: 147.1 kB / 0.8034 GB, free: 85.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005573/1.365, allocations: 2.437 MB / 0.8058 GB, free: 84.74 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001341/1.366, allocations: 27.3 kB / 0.8058 GB, free: 84.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.368, allocations: 1.99 MB / 0.8077 GB, free: 84.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002804/1.371, allocations: 1.254 MB / 0.809 GB, free: 83.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.371, allocations: 0 / 0.809 GB, free: 83.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000277/1.371, allocations: 443.2 kB / 0.8094 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003449/1.375, allocations: 1.76 MB / 0.8111 GB, free: 83.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003925/1.379, allocations: 2.325 MB / 0.8134 GB, free: 82.74 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/1.383, allocations: 1.957 MB / 0.8153 GB, free: 82.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/1.383, allocations: 5.969 kB / 0.8153 GB, free: 82.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05266/1.436, allocations: 17.33 MB / 0.8322 GB, free: 81.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.436, allocations: 66.83 kB / 0.8323 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.457e-05/1.436, allocations: 14.66 kB / 0.8323 GB, free: 81.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02336/1.459, allocations: 6.894 MB / 0.839 GB, free: 81.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/1.462, allocations: 0.5607 MB / 0.8396 GB, free: 81.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05346/1.516, allocations: 25.23 MB / 0.8642 GB, free: 70.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.523, allocations: 0.6472 MB / 0.8648 GB, free: 69.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.524, allocations: 137.9 kB / 0.865 GB, free: 69.91 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (331): * Single equations (assignments): 328 * 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.001048/1.525, allocations: 210.1 kB / 0.8652 GB, free: 69.75 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/1.526, allocations: 453.5 kB / 0.8656 GB, free: 69.52 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04885/1.575, allocations: 17.73 MB / 0.8829 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/1.575, allocations: 36 kB / 0.883 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/1.575, allocations: 38.5 kB / 0.883 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/1.575, allocations: 21.77 kB / 0.883 GB, free: 60.93 MB / 0.5573 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.05291/1.628, allocations: 22.36 MB / 0.9048 GB, free: 43.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.628, allocations: 5.266 kB / 0.9049 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/1.631, allocations: 388 kB / 0.9052 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/1.652, allocations: 6.986 MB / 0.912 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/1.653, allocations: 15.8 kB / 0.9121 GB, free: 38.15 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04735/1.7, allocations: 24.19 MB / 0.9357 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.7, allocations: 4 kB / 0.9357 GB, free: 16.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05458/1.755, allocations: 20.69 MB / 0.9559 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/1.757, allocations: 0.5528 MB / 0.9564 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001793/1.759, allocations: 3.938 kB / 0.9564 GB, free: 15.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/1.764, allocations: 456.4 kB / 0.9569 GB, free: 14.99 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003657/1.768, allocations: 0.7805 MB / 0.9576 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000731/1.769, allocations: 100.8 kB / 0.9577 GB, free: 14.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003501/1.772, allocations: 1.802 MB / 0.9595 GB, free: 12.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.61e-07/1.772, allocations: 0 / 0.9595 GB, free: 12.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007723/1.78, allocations: 1.585 MB / 0.961 GB, free: 11.25 MB / 0.573 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 () * 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 (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 {(100,5.5%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/1.781, allocations: 158.1 kB / 0.9612 GB, free: 11.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02444/1.805, allocations: 7.95 MB / 0.9689 GB, free: 3.828 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.805, allocations: 0 / 0.9689 GB, free: 3.828 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0204/1.826, allocations: 5.998 MB / 0.9748 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/1.83, allocations: 242.4 kB / 0.975 GB, free: 13.88 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.843, allocations: 5.75 MB / 0.9807 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00262/1.846, allocations: 2.53 MB / 0.9831 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002212/1.848, allocations: 294.3 kB / 0.9834 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/1.849, allocations: 199.4 kB / 0.9836 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/1.849, allocations: 0 / 0.9836 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of Templates: time 0.5005/2.35, allocations: 72.46 MB / 1.054 GB, free: 110.5 MB / 0.5886 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)