Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.009824/0.009824, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.439/1.439, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009184/0.0009184, allocations: 101.9 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5063/0.5063, allocations: 78.59 MB / 419.9 MB, free: 44.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003981, allocations: 8 kB / 499.8 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3647, allocations: 69.35 MB / 0.5559 GB, free: 38.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4824, allocations: 98.9 MB / 0.6524 GB, free: 7.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4827, allocations: 79.95 kB / 0.6525 GB, free: 7.512 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1033/0.586, allocations: 36.54 MB / 0.6882 GB, free: 2.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.586, allocations: 0 / 0.6882 GB, free: 2.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001164/0.5862, allocations: 23.94 kB / 0.6882 GB, free: 2.746 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006364/0.5925, allocations: 1.998 MB / 0.6902 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.5926, allocations: 12.03 kB / 0.6902 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000505/0.5931, allocations: 126.6 kB / 0.6903 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.5971, allocations: 0.5682 MB / 0.6909 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.5993, allocations: 0.8149 MB / 0.6917 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003112/0.5996, allocations: 264.2 kB / 0.6919 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.5999, allocations: 79.91 kB / 0.692 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/0.6023, allocations: 1.133 MB / 0.6931 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.6023, allocations: 0 / 0.6931 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6024, allocations: 32 kB / 0.6931 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.6025, allocations: 24 kB / 0.6931 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.6047, allocations: 1.046 MB / 0.6942 GB, free: 12.47 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00726/0.6119, allocations: 3.793 MB / 0.6979 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008503/0.6205, allocations: 2.896 MB / 0.7007 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.6207, allocations: 12.98 kB / 0.7007 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001896/0.6226, allocations: 0.877 MB / 0.7016 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.948e-06/0.6226, allocations: 0 / 0.7016 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96): time 0.03172/0.6543, allocations: 8.704 MB / 0.7101 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.6544, allocations: 115.8 kB / 0.7102 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.6564, allocations: 0.9171 MB / 0.7111 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002351/0.6567, allocations: 41.7 kB / 0.7111 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.6571, allocations: 0.5129 MB / 0.7116 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.6575, allocations: 335.1 kB / 0.7119 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.6576, allocations: 20 kB / 0.712 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6578, allocations: 341.9 kB / 0.7123 GB, free: 9.504 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.6593, allocations: 0.6504 MB / 0.7129 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6608, allocations: 0.7769 MB / 0.7137 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.6624, allocations: 0.7472 MB / 0.7144 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.6624, allocations: 0 / 0.7144 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01426/0.6766, allocations: 4.676 MB / 0.719 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.6767, allocations: 63.41 kB / 0.719 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6768, allocations: 8 kB / 0.719 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00675/0.6835, allocations: 1.893 MB / 0.7209 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6847, allocations: 187.8 kB / 0.7211 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.7063, allocations: 9.438 MB / 0.7303 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.7082, allocations: 203 kB / 0.7305 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.7084, allocations: 39.98 kB / 0.7305 GB, free: 6.598 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.00079/0.7092, allocations: 287 kB / 0.7308 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/0.7096, allocations: 126.7 kB / 0.7309 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.7236, allocations: 4.732 MB / 0.7355 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.7236, allocations: 8 kB / 0.7355 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.7237, allocations: 12 kB / 0.7355 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.7237, allocations: 3.984 kB / 0.7356 GB, free: 1.398 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01636/0.7401, allocations: 6.277 MB / 0.7417 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.7401, allocations: 0 / 0.7417 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/0.7409, allocations: 103.8 kB / 0.7418 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005999/0.7469, allocations: 1.876 MB / 0.7436 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.7472, allocations: 24 kB / 0.7436 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02192/0.7691, allocations: 10.13 MB / 0.7535 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.7691, allocations: 0 / 0.7535 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/0.785, allocations: 5.658 MB / 0.7591 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/0.7857, allocations: 223.2 kB / 0.7593 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004438/0.7862, allocations: 23.98 kB / 0.7593 GB, free: 8.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.7877, allocations: 144.1 kB / 0.7594 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006875/0.7884, allocations: 196.6 kB / 0.7596 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.7885, allocations: 31.98 kB / 0.7596 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001363/0.7899, allocations: 0.7196 MB / 0.7603 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7899, allocations: 0 / 0.7603 GB, free: 7.551 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001754/0.7917, allocations: 439.5 kB / 0.7608 GB, free: 7.121 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01613/0.8078, allocations: 6.337 MB / 0.767 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2301/1.038, allocations: 2.466 MB / 0.7694 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/1.038, allocations: 1.031 kB / 0.7694 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004767/1.043, allocations: 1.783 MB / 0.7711 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009835/1.044, allocations: 103.5 kB / 0.7712 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/1.049, allocations: 5.084 MB / 0.7762 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/1.05, allocations: 1.146 MB / 0.7773 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004543/1.051, allocations: 95.56 kB / 0.7774 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006113/1.051, allocations: 469.8 kB / 0.7778 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.593e-06/1.051, allocations: 4.234 kB / 0.7778 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/1.102, allocations: 30.49 MB / 0.8076 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001331/1.103, allocations: 236.6 kB / 0.8078 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.796/3.899, allocations: 1.828 kB / 0.8078 GB, free: 142.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)