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.0008716/0.0008716, allocations: 173.9 kB / 7.648 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.351/1.351, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008668/0.0008668, allocations: 89.64 kB / 280.4 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.5257/0.5257, allocations: 78.13 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.722e-05, allocations: 3.938 kB / 484.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 69.37 MB / 0.5413 GB, free: 6.953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5499, allocations: 100.7 MB / 0.6397 GB, free: 15.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.5502, allocations: 80.48 kB / 0.6398 GB, free: 14.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2536/0.8039, allocations: 98.59 MB / 0.736 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8039, allocations: 0 / 0.736 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003381/0.8043, allocations: 91.94 kB / 0.7361 GB, free: 11.88 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01815/0.8224, allocations: 5.736 MB / 0.7417 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8225, allocations: 12.03 kB / 0.7417 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.8395, allocations: 2.772 MB / 0.7445 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.8452, allocations: 2.229 MB / 0.7466 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/0.8463, allocations: 0.8714 MB / 0.7475 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.8476, allocations: 200 kB / 0.7477 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007896/0.8555, allocations: 3.435 MB / 0.751 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/0.8653, allocations: 3.578 MB / 0.7545 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.025e-05/0.8654, allocations: 0 / 0.7545 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007216/0.8661, allocations: 0 / 0.7545 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.8662, allocations: 84 kB / 0.7546 GB, free: 8.637 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.3028/1.169, allocations: 18.04 MB / 0.7722 GB, free: 86.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009369/1.178, allocations: 4.691 MB / 0.7768 GB, free: 85.81 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/1.182, allocations: 2.107 MB / 0.7789 GB, free: 85.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/1.182, allocations: 73.33 kB / 0.7789 GB, free: 85.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003684/1.186, allocations: 2.484 MB / 0.7814 GB, free: 85.65 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 5.701e-06/1.186, allocations: 0 / 0.7814 GB, free: 85.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.05047/1.236, allocations: 17.28 MB / 0.7982 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/1.237, allocations: 145.9 kB / 0.7984 GB, free: 84.97 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/1.24, allocations: 2.442 MB / 0.8007 GB, free: 84.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000799/1.241, allocations: 25.7 kB / 0.8008 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/1.242, allocations: 1.988 MB / 0.8027 GB, free: 84.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/1.244, allocations: 1.25 MB / 0.8039 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.244, allocations: 4.031 kB / 0.8039 GB, free: 83.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.244, allocations: 444.1 kB / 0.8044 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002744/1.247, allocations: 1.759 MB / 0.8061 GB, free: 83.25 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/1.25, allocations: 2.318 MB / 0.8083 GB, free: 82.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/1.253, allocations: 1.955 MB / 0.8103 GB, free: 82.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.253, allocations: 7.672 kB / 0.8103 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=466) (initialization): time 0.04983/1.303, allocations: 17.33 MB / 0.8272 GB, free: 81.54 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/1.303, allocations: 61.97 kB / 0.8272 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/1.303, allocations: 15.75 kB / 0.8273 GB, free: 81.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02206/1.325, allocations: 6.905 MB / 0.834 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/1.328, allocations: 0.5609 MB / 0.8345 GB, free: 81.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05264/1.381, allocations: 25.24 MB / 0.8592 GB, free: 71.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/1.386, allocations: 0.6299 MB / 0.8598 GB, free: 71.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005614/1.387, allocations: 131 kB / 0.8599 GB, free: 71.44 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.0008137/1.388, allocations: 206 kB / 0.8601 GB, free: 71.29 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008482/1.389, allocations: 457.7 kB / 0.8606 GB, free: 71.05 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04982/1.438, allocations: 17.74 MB / 0.8779 GB, free: 65.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/1.439, allocations: 36 kB / 0.8779 GB, free: 65.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.118e-05/1.439, allocations: 28 kB / 0.878 GB, free: 65.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.566e-05/1.439, allocations: 21.05 kB / 0.878 GB, free: 65.78 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.05493/1.494, allocations: 22.34 MB / 0.8998 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/1.494, allocations: 1.031 kB / 0.8998 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/1.496, allocations: 391.9 kB / 0.9002 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02083/1.517, allocations: 6.964 MB / 0.907 GB, free: 43.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008214/1.518, allocations: 19.89 kB / 0.907 GB, free: 43.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04478/1.562, allocations: 24.16 MB / 0.9306 GB, free: 21.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.563, allocations: 0 / 0.9306 GB, free: 21.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04986/1.612, allocations: 20.58 MB / 0.9507 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/1.614, allocations: 0.5541 MB / 0.9512 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009739/1.615, allocations: 0 / 0.9512 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004233/1.619, allocations: 444.4 kB / 0.9516 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00246/1.622, allocations: 0.7802 MB / 0.9524 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002772/1.622, allocations: 91.61 kB / 0.9525 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002199/1.624, allocations: 1.81 MB / 0.9543 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/1.624, allocations: 0 / 0.9543 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004833/1.629, allocations: 1.591 MB / 0.9558 GB, free: 84 kB / 0.5573 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.0006774/1.63, allocations: 152.7 kB / 0.956 GB, free: 15.93 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0212/1.651, allocations: 7.951 MB / 0.9637 GB, free: 8.668 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.651, allocations: 0 / 0.9637 GB, free: 8.668 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/1.669, allocations: 5.954 MB / 0.9695 GB, free: 3.402 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.672, allocations: 246.5 kB / 0.9698 GB, free: 3.172 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/1.686, allocations: 5.824 MB / 0.9755 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/1.688, allocations: 2.542 MB / 0.9779 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001751/1.69, allocations: 293.8 kB / 0.9782 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/1.691, allocations: 195.4 kB / 0.9784 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of SimCode: time 1.001e-06/1.691, allocations: 0 / 0.9784 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Templates: time 0.4066/2.098, allocations: 72.27 MB / 1.049 GB, free: 111.9 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)