Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, 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.397/1.397, 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.0009105/0.0009102, allocations: 93.83 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.4716/0.4716, allocations: 78.12 MB / 409.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 7.984 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1514, allocations: 69.36 MB / 0.5414 GB, free: 6.863 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6264, allocations: 101.9 MB / 0.6409 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.6266, allocations: 79.95 kB / 0.641 GB, free: 13.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.286/0.9126, allocations: 99.62 MB / 0.7383 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9127, allocations: 0 / 0.7383 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004962/0.9132, allocations: 88.5 kB / 0.7383 GB, free: 9.559 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.02137/0.9346, allocations: 5.778 MB / 0.744 GB, free: 3.703 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.9346, allocations: 12.03 kB / 0.744 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.9533, allocations: 2.776 MB / 0.7467 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/0.9596, allocations: 2.257 MB / 0.7489 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.9607, allocations: 0.8597 MB / 0.7498 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001156/0.9619, allocations: 200.8 kB / 0.7499 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008008/0.9699, allocations: 3.447 MB / 0.7533 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.9772, allocations: 3.598 MB / 0.7568 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.9772, allocations: 0 / 0.7568 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000328/0.9776, allocations: 4 kB / 0.7568 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.126e-05/0.9777, allocations: 87.94 kB / 0.7569 GB, free: 6.219 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.4104/1.388, allocations: 18.09 MB / 0.7746 GB, free: 86.59 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.399, allocations: 4.704 MB / 0.7792 GB, free: 86.15 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00419/1.403, allocations: 2.123 MB / 0.7812 GB, free: 86.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004882/1.404, allocations: 72.83 kB / 0.7813 GB, free: 86.12 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00388/1.408, allocations: 2.493 MB / 0.7837 GB, free: 85.99 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 6.933e-06/1.408, allocations: 2.75 kB / 0.7837 GB, free: 85.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.05434/1.462, allocations: 17.3 MB / 0.8006 GB, free: 85.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/1.462, allocations: 143.6 kB / 0.8008 GB, free: 85.25 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00517/1.467, allocations: 2.473 MB / 0.8032 GB, free: 84.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.469, allocations: 26.45 kB / 0.8032 GB, free: 84.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.47, allocations: 2 MB / 0.8052 GB, free: 84.51 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002364/1.473, allocations: 1.261 MB / 0.8064 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/1.473, allocations: 1.219 kB / 0.8064 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002582/1.473, allocations: 448.6 kB / 0.8068 GB, free: 83.53 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00331/1.477, allocations: 1.772 MB / 0.8086 GB, free: 83.52 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003651/1.48, allocations: 2.335 MB / 0.8108 GB, free: 82.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/1.484, allocations: 1.969 MB / 0.8128 GB, free: 82.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.442e-05/1.484, allocations: 4.312 kB / 0.8128 GB, free: 82.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05347/1.537, allocations: 17.35 MB / 0.8297 GB, free: 81.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.538, allocations: 68.16 kB / 0.8298 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.104e-05/1.538, allocations: 14.28 kB / 0.8298 GB, free: 81.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02362/1.561, allocations: 6.9 MB / 0.8365 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/1.565, allocations: 0.5742 MB / 0.8371 GB, free: 81.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05719/1.622, allocations: 25.22 MB / 0.8617 GB, free: 71.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00781/1.63, allocations: 0.6309 MB / 0.8623 GB, free: 71.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.632, allocations: 133.1 kB / 0.8625 GB, free: 71.18 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.0013/1.633, allocations: 199.4 kB / 0.8627 GB, free: 71.03 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04969/1.683, allocations: 17.32 MB / 0.8796 GB, free: 64.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002433/1.685, allocations: 457.8 kB / 0.88 GB, free: 63.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0495/1.735, allocations: 17.75 MB / 0.8973 GB, free: 50.19 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-05/1.735, allocations: 40 kB / 0.8974 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-05/1.735, allocations: 35.95 kB / 0.8974 GB, free: 50.12 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.735, allocations: 19.36 kB / 0.8974 GB, free: 50.12 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.05679/1.792, allocations: 22.39 MB / 0.9193 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.566e-05/1.792, allocations: 5.531 kB / 0.9193 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.794, allocations: 392.8 kB / 0.9197 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02146/1.816, allocations: 6.948 MB / 0.9265 GB, free: 27.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001181/1.817, allocations: 19.75 kB / 0.9265 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05025/1.867, allocations: 24.25 MB / 0.9502 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.357e-06/1.867, allocations: 0 / 0.9502 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05916/1.926, allocations: 20.64 MB / 0.9703 GB, free: 3.293 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.928, allocations: 0.5618 MB / 0.9709 GB, free: 2.707 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001734/1.93, allocations: 4 kB / 0.9709 GB, free: 2.703 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006122/1.936, allocations: 439.5 kB / 0.9713 GB, free: 2.273 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004164/1.94, allocations: 0.7848 MB / 0.972 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007761/1.941, allocations: 91.98 kB / 0.9721 GB, free: 1.398 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00367/1.945, allocations: 1.829 MB / 0.9739 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/1.945, allocations: 4 kB / 0.9739 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007874/1.953, allocations: 1.593 MB / 0.9755 GB, free: 13.97 MB / 0.5886 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.4451/2.398, allocations: 21.31 MB / 0.9963 GB, free: 110 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02506/2.423, allocations: 7.972 MB / 1.004 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/2.423, allocations: 2.469 kB / 1.004 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02237/2.445, allocations: 5.966 MB / 1.01 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/2.45, allocations: 247.4 kB / 1.01 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/2.474, allocations: 6.386 MB / 1.016 GB, free: 107.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/2.477, allocations: 2.544 MB / 1.019 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001949/2.479, allocations: 297.2 kB / 1.019 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/2.481, allocations: 1.975 MB / 1.021 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of SimCode: time 6.61e-07/2.481, allocations: 0 / 1.021 GB, free: 106.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1864/2.668, allocations: 107.8 MB / 1.126 GB, free: 77.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/2.668, allocations: 148.8 kB / 1.126 GB, free: 76.89 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.397/9.065, allocations: 0 / 1.126 GB, free: 76.89 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)