Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, 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.504/1.504, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008484/0.0008484, allocations: 87.81 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5912/0.5912, allocations: 78.95 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.736e-05, allocations: 7.984 kB / 485.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.164, allocations: 69.52 MB / 0.5424 GB, free: 5.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.549, allocations: 102.5 MB / 0.6426 GB, free: 11.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.5493, allocations: 79.95 kB / 0.6427 GB, free: 11.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.8189, allocations: 101.5 MB / 0.7418 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8189, allocations: 0 / 0.7418 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004608/0.8194, allocations: 87.94 kB / 0.7419 GB, free: 5.508 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02051/0.8399, allocations: 5.766 MB / 0.7475 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.84, allocations: 16.78 kB / 0.7475 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0183/0.8583, allocations: 2.776 MB / 0.7502 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006905/0.8653, allocations: 2.257 MB / 0.7524 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001138/0.8664, allocations: 0.8719 MB / 0.7533 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001411/0.8679, allocations: 200 kB / 0.7535 GB, free: 9.328 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008666/0.8765, allocations: 3.443 MB / 0.7568 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01006/0.8866, allocations: 3.594 MB / 0.7604 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.381e-05/0.8867, allocations: 0 / 0.7604 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000724/0.8875, allocations: 0.75 kB / 0.7604 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/0.8876, allocations: 90.11 kB / 0.7604 GB, free: 2.176 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.3682/1.256, allocations: 18.1 MB / 0.7781 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.266, allocations: 4.705 MB / 0.7827 GB, free: 84.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/1.271, allocations: 2.126 MB / 0.7848 GB, free: 84.87 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005417/1.271, allocations: 68.77 kB / 0.7848 GB, free: 84.86 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004281/1.276, allocations: 2.494 MB / 0.7873 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 7.484e-06/1.276, allocations: 0.8906 kB / 0.7873 GB, free: 84.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05576/1.331, allocations: 17.31 MB / 0.8042 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/1.332, allocations: 146.6 kB / 0.8043 GB, free: 83.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005189/1.337, allocations: 2.471 MB / 0.8067 GB, free: 83.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00124/1.338, allocations: 26.31 kB / 0.8068 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/1.34, allocations: 1.997 MB / 0.8087 GB, free: 82.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002337/1.342, allocations: 1.257 MB / 0.8099 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003172/1.342, allocations: 2.25 kB / 0.8099 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002476/1.343, allocations: 444.1 kB / 0.8104 GB, free: 82.01 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/1.345, allocations: 1.773 MB / 0.8121 GB, free: 82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00328/1.349, allocations: 2.335 MB / 0.8144 GB, free: 81.45 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/1.352, allocations: 1.97 MB / 0.8163 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.352, allocations: 3.688 kB / 0.8163 GB, free: 81.38 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05108/1.403, allocations: 17.36 MB / 0.8333 GB, free: 80.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-05/1.404, allocations: 70.64 kB / 0.8333 GB, free: 80.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/1.404, allocations: 14.94 kB / 0.8333 GB, free: 80.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02226/1.426, allocations: 6.893 MB / 0.8401 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/1.429, allocations: 0.5728 MB / 0.8406 GB, free: 79.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05357/1.483, allocations: 25.22 MB / 0.8653 GB, free: 68.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00631/1.489, allocations: 0.6484 MB / 0.8659 GB, free: 68.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007955/1.49, allocations: 133.4 kB / 0.866 GB, free: 68.25 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 (333): * Single equations (assignments): 330 * 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.000902/1.491, allocations: 204.1 kB / 0.8662 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/1.492, allocations: 454.7 kB / 0.8667 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04813/1.54, allocations: 17.77 MB / 0.884 GB, free: 59 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/1.54, allocations: 36 kB / 0.884 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.275e-05/1.54, allocations: 28 kB / 0.8841 GB, free: 58.94 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-05/1.54, allocations: 18.61 kB / 0.8841 GB, free: 58.94 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.05448/1.595, allocations: 22.39 MB / 0.9059 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-05/1.595, allocations: 4 kB / 0.906 GB, free: 41.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002411/1.597, allocations: 387 kB / 0.9063 GB, free: 41.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02054/1.618, allocations: 6.945 MB / 0.9131 GB, free: 36.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/1.619, allocations: 19.66 kB / 0.9131 GB, free: 36.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04759/1.667, allocations: 24.25 MB / 0.9368 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.667, allocations: 0 / 0.9368 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06426/1.731, allocations: 21.48 MB / 0.9578 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/1.733, allocations: 0.5642 MB / 0.9583 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/1.734, allocations: 3.953 kB / 0.9583 GB, free: 15.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005062/1.739, allocations: 456.4 kB / 0.9588 GB, free: 14.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003123/1.742, allocations: 0.7815 MB / 0.9595 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003979/1.743, allocations: 97.05 kB / 0.9596 GB, free: 14.11 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003139/1.746, allocations: 1.832 MB / 0.9614 GB, free: 12.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.746, allocations: 0 / 0.9614 GB, free: 12.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006147/1.752, allocations: 1.599 MB / 0.963 GB, free: 10.68 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006362/1.753, allocations: 148.1 kB / 0.9631 GB, free: 10.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02259/1.775, allocations: 7.978 MB / 0.9709 GB, free: 2.516 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.776, allocations: 0 / 0.9709 GB, free: 2.516 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01964/1.795, allocations: 5.966 MB / 0.9767 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/1.799, allocations: 244.8 kB / 0.977 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.817, allocations: 5.833 MB / 0.9827 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/1.821, allocations: 2.546 MB / 0.9851 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002274/1.823, allocations: 295.8 kB / 0.9854 GB, free: 3.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/1.824, allocations: 199.4 kB / 0.9856 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/1.824, allocations: 0 / 0.9856 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of Templates: time 0.4355/2.259, allocations: 72.83 MB / 1.057 GB, free: 109.3 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)