Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001331/0.001331, allocations: 170.3 kB / 7.645 MB, free: 1.434 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.39/1.39, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008451/0.000845, allocations: 96.22 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4615/0.4615, allocations: 78.06 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.568e-05/1.571e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 69.36 MB / 0.5413 GB, free: 6.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5457, allocations: 101.5 MB / 0.6404 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.546, allocations: 88.39 kB / 0.6404 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2513/0.7972, allocations: 98.73 MB / 0.7369 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7973, allocations: 3.938 kB / 0.7369 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003663/0.7977, allocations: 88 kB / 0.7369 GB, free: 10.81 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.01878/0.8165, allocations: 5.747 MB / 0.7426 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.8165, allocations: 12.03 kB / 0.7426 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/0.8338, allocations: 2.772 MB / 0.7453 GB, free: 2.195 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.8402, allocations: 2.263 MB / 0.7475 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001044/0.8413, allocations: 0.8752 MB / 0.7483 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001405/0.8427, allocations: 200 kB / 0.7485 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008735/0.8514, allocations: 3.44 MB / 0.7519 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.8625, allocations: 3.582 MB / 0.7554 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.8626, allocations: 0 / 0.7554 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008819/0.8635, allocations: 3.984 kB / 0.7554 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/0.8636, allocations: 88 kB / 0.7555 GB, free: 7.504 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.3695/1.233, allocations: 18.03 MB / 0.7731 GB, free: 86.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/1.244, allocations: 4.69 MB / 0.7777 GB, free: 85.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004259/1.248, allocations: 2.113 MB / 0.7797 GB, free: 85.94 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.249, allocations: 69.22 kB / 0.7798 GB, free: 85.94 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004287/1.253, allocations: 2.489 MB / 0.7822 GB, free: 85.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 6.722e-06/1.253, allocations: 0 / 0.7822 GB, free: 85.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.05178/1.305, allocations: 17.27 MB / 0.7991 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.938e-05/1.305, allocations: 148.3 kB / 0.7992 GB, free: 85.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/1.31, allocations: 2.427 MB / 0.8016 GB, free: 84.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.311, allocations: 27.2 kB / 0.8016 GB, free: 84.81 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.312, allocations: 1.998 MB / 0.8036 GB, free: 84.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/1.314, allocations: 1.25 MB / 0.8048 GB, free: 83.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/1.314, allocations: 0 / 0.8048 GB, free: 83.71 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.315, allocations: 445.6 kB / 0.8052 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002954/1.318, allocations: 1.764 MB / 0.8069 GB, free: 83.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003251/1.321, allocations: 2.32 MB / 0.8092 GB, free: 82.85 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/1.325, allocations: 1.967 MB / 0.8111 GB, free: 82.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/1.325, allocations: 4.531 kB / 0.8111 GB, free: 82.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05068/1.375, allocations: 17.33 MB / 0.8281 GB, free: 81.69 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.387e-05/1.375, allocations: 71.38 kB / 0.8281 GB, free: 81.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.011e-05/1.375, allocations: 12.59 kB / 0.8281 GB, free: 81.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02125/1.397, allocations: 6.899 MB / 0.8349 GB, free: 81.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.4, allocations: 0.5634 MB / 0.8354 GB, free: 81.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05007/1.45, allocations: 25.23 MB / 0.8601 GB, free: 71.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005855/1.456, allocations: 0.6325 MB / 0.8607 GB, free: 71.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/1.457, allocations: 134.4 kB / 0.8608 GB, free: 71.28 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.00128/1.458, allocations: 201.3 kB / 0.861 GB, free: 71.13 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.459, allocations: 456.1 kB / 0.8614 GB, free: 70.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04864/1.508, allocations: 17.74 MB / 0.8788 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/1.508, allocations: 36 kB / 0.8788 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/1.508, allocations: 28 kB / 0.8788 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000111/1.508, allocations: 20.34 kB / 0.8788 GB, free: 64.89 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.05559/1.564, allocations: 22.35 MB / 0.9007 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.564, allocations: 0 / 0.9007 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.566, allocations: 392 kB / 0.901 GB, free: 47.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02065/1.587, allocations: 6.971 MB / 0.9078 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/1.588, allocations: 19 kB / 0.9079 GB, free: 42.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04713/1.635, allocations: 24.18 MB / 0.9315 GB, free: 20.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.635, allocations: 4 kB / 0.9315 GB, free: 20.71 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05134/1.687, allocations: 20.6 MB / 0.9516 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/1.688, allocations: 0.5606 MB / 0.9521 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001189/1.689, allocations: 8.062 kB / 0.9521 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004661/1.694, allocations: 437.6 kB / 0.9526 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002685/1.697, allocations: 0.7781 MB / 0.9533 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/1.697, allocations: 95.98 kB / 0.9534 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002438/1.7, allocations: 1.796 MB / 0.9552 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/1.7, allocations: 0 / 0.9552 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007784/1.707, allocations: 1.758 MB / 0.9569 GB, free: 15.52 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005806/1.708, allocations: 154.4 kB / 0.957 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02106/1.729, allocations: 7.955 MB / 0.9648 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.729, allocations: 0 / 0.9648 GB, free: 8.105 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01796/1.747, allocations: 5.97 MB / 0.9706 GB, free: 2.754 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/1.751, allocations: 244.5 kB / 0.9709 GB, free: 2.512 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/1.764, allocations: 5.744 MB / 0.9765 GB, free: 12.75 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/1.766, allocations: 2.538 MB / 0.979 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001718/1.768, allocations: 292.4 kB / 0.9792 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/1.768, allocations: 199.4 kB / 0.9794 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of SimCode: time 8.11e-07/1.768, allocations: 0 / 0.9794 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of Templates: time 0.4376/2.206, allocations: 72.27 MB / 1.05 GB, free: 111.5 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)