Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001648/0.001648, 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.494/1.494, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0007823/0.0007823, allocations: 91.42 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4384/0.4384, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.178e-05/5.18e-05, allocations: 7.984 kB / 491.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3311, allocations: 69.35 MB / 0.548 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.5159, allocations: 101.7 MB / 0.6473 GB, free: 14.82 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.5164, allocations: 75.95 kB / 0.6474 GB, free: 14.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6372/1.154, allocations: 98.69 MB / 0.7438 GB, free: 64.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.482e-06/1.154, allocations: 7.984 kB / 0.7438 GB, free: 64.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004355/1.154, allocations: 91.88 kB / 0.7439 GB, free: 64.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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01865/1.173, allocations: 5.737 MB / 0.7495 GB, free: 58.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.173, allocations: 11.97 kB / 0.7495 GB, free: 58.19 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/1.191, allocations: 2.779 MB / 0.7522 GB, free: 55.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/1.197, allocations: 2.259 MB / 0.7544 GB, free: 53.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008707/1.198, allocations: 0.9673 MB / 0.7554 GB, free: 51.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/1.2, allocations: 336 kB / 0.7557 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007956/1.208, allocations: 4.081 MB / 0.7597 GB, free: 47.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.53e-05/1.208, allocations: 0 / 0.7597 GB, free: 47.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/1.208, allocations: 148 kB / 0.7598 GB, free: 47.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/1.208, allocations: 87.94 kB / 0.7599 GB, free: 47.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007187/1.216, allocations: 3.613 MB / 0.7634 GB, free: 43.68 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.0373/1.253, allocations: 18.62 MB / 0.7816 GB, free: 23.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.264, allocations: 4.764 MB / 0.7863 GB, free: 19 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/1.268, allocations: 2.217 MB / 0.7884 GB, free: 16.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/1.268, allocations: 74.84 kB / 0.7885 GB, free: 16.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/1.269, allocations: 73.55 kB / 0.7886 GB, free: 16.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=380): time 6.101e-06/1.269, allocations: 0 / 0.7886 GB, free: 16.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=380): time 0.05321/1.322, allocations: 17.44 MB / 0.8056 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.322, allocations: 171.4 kB / 0.8058 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/1.328, allocations: 2.633 MB / 0.8083 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.33, allocations: 85.7 kB / 0.8084 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002013/1.332, allocations: 1.983 MB / 0.8103 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002859/1.335, allocations: 1.294 MB / 0.8116 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.336, allocations: 76 kB / 0.8117 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004078/1.336, allocations: 442.4 kB / 0.8121 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005152/1.341, allocations: 1.816 MB / 0.8139 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/1.347, allocations: 2.402 MB / 0.8162 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00514/1.352, allocations: 2.078 MB / 0.8182 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.93e-05/1.352, allocations: 4 kB / 0.8183 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05895/1.411, allocations: 17.66 MB / 0.8355 GB, free: 112 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002437/1.413, allocations: 6.664 MB / 0.842 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.751e-05/1.413, allocations: 16 kB / 0.842 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02522/1.439, allocations: 6.915 MB / 0.8488 GB, free: 1.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/1.442, allocations: 0.5421 MB / 0.8493 GB, free: 1.438 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07199/1.514, allocations: 25.54 MB / 0.8742 GB, free: 7.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00665/1.521, allocations: 0.6957 MB / 0.8749 GB, free: 7.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.522, allocations: 128 kB / 0.875 GB, free: 6.895 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.522, allocations: 4 kB / 0.875 GB, free: 6.891 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05862/1.58, allocations: 17.23 MB / 0.8919 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.225e-05/1.58, allocations: 20 kB / 0.8919 GB, free: 5.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3721/1.953, allocations: 6.909 MB / 0.8986 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.956, allocations: 0.5301 MB / 0.8992 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05975/2.015, allocations: 25.54 MB / 0.9241 GB, free: 126.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/2.021, allocations: 0.6601 MB / 0.9247 GB, free: 126.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007371/2.022, allocations: 129 kB / 0.9249 GB, free: 126.4 MB / 0.573 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 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 order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008758/2.023, allocations: 325 kB / 0.9252 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/2.024, allocations: 460.2 kB / 0.9256 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05061/2.075, allocations: 17.98 MB / 0.9432 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/2.075, allocations: 39.52 kB / 0.9432 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/2.075, allocations: 31.69 kB / 0.9432 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.225e-05/2.075, allocations: 20.92 kB / 0.9433 GB, free: 122.9 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.0609/2.136, allocations: 23.22 MB / 0.9659 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/2.136, allocations: 3.438 kB / 0.966 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/2.139, allocations: 402.4 kB / 0.9663 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02318/2.162, allocations: 6.964 MB / 0.9731 GB, free: 113.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.163, allocations: 71.75 kB / 0.9732 GB, free: 113.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05446/2.217, allocations: 22.54 MB / 0.9952 GB, free: 93.62 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.217, allocations: 0 / 0.9952 GB, free: 93.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05502/2.272, allocations: 20.8 MB / 1.016 GB, free: 76.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00174/2.274, allocations: 0.5614 MB / 1.016 GB, free: 76.13 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/2.276, allocations: 64.66 kB / 1.016 GB, free: 76.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005031/2.281, allocations: 487.5 kB / 1.017 GB, free: 75.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003076/2.284, allocations: 0.763 MB / 1.017 GB, free: 75.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/2.284, allocations: 91.89 kB / 1.017 GB, free: 75.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002901/2.287, allocations: 2 MB / 1.019 GB, free: 73.35 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.62e-07/2.287, allocations: 0 / 1.019 GB, free: 73.35 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009809/2.297, allocations: 2.872 MB / 1.022 GB, free: 70.6 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006261/2.298, allocations: 212.8 kB / 1.022 GB, free: 70.39 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03857/2.336, allocations: 14.44 MB / 1.037 GB, free: 57.34 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/2.336, allocations: 0 / 1.037 GB, free: 57.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01791/2.354, allocations: 5.982 MB / 1.042 GB, free: 52.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/2.358, allocations: 305.8 kB / 1.043 GB, free: 51.75 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/2.371, allocations: 6.026 MB / 1.049 GB, free: 46.24 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/2.373, allocations: 2.592 MB / 1.051 GB, free: 44.31 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003155/2.376, allocations: 0.6068 MB / 1.052 GB, free: 43.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006748/2.376, allocations: 175 kB / 1.052 GB, free: 43.75 MB / 0.573 GB Notification: Performance of SimCode: time 7.41e-07/2.376, allocations: 4 kB / 1.052 GB, free: 43.75 MB / 0.573 GB Notification: Performance of Templates: time 0.4709/2.847, allocations: 112.5 MB / 1.162 GB, free: 155.1 MB / 0.5886 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)