Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",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.001485/0.001485, allocations: 173.5 kB / 7.646 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.412/1.412, 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.0008003/0.0008003, allocations: 97.88 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4988/0.4988, allocations: 78.13 MB / 409.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.878e-05, allocations: 3.938 kB / 485.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 69.35 MB / 0.5414 GB, free: 6.852 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4716/0.6393, allocations: 100.1 MB / 0.6392 GB, free: 15.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.6396, allocations: 91.25 kB / 0.6392 GB, free: 15.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/0.7221, allocations: 29.58 MB / 0.6681 GB, free: 1.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.7222, allocations: 4 kB / 0.6681 GB, free: 1.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000208/0.7225, allocations: 24 kB / 0.6682 GB, free: 1.961 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00665/0.7291, allocations: 1.875 MB / 0.67 GB, free: 28 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.7292, allocations: 12.88 kB / 0.67 GB, free: 16 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/0.733, allocations: 0.5643 MB / 0.6706 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.7355, allocations: 0.8303 MB / 0.6714 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.7358, allocations: 228.2 kB / 0.6716 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.7361, allocations: 48 kB / 0.6716 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001622/0.7377, allocations: 0.8668 MB / 0.6725 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.7393, allocations: 0.8915 MB / 0.6733 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.7394, allocations: 4 kB / 0.6733 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.7394, allocations: 0 / 0.6733 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.7395, allocations: 22.44 kB / 0.6734 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007326/0.7468, allocations: 3.595 MB / 0.6769 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.7488, allocations: 1.352 MB / 0.6782 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.7497, allocations: 0.6068 MB / 0.6788 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.7498, allocations: 21.3 kB / 0.6788 GB, free: 6.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.7509, allocations: 0.7034 MB / 0.6795 GB, free: 5.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.965e-06/0.7509, allocations: 0 / 0.6795 GB, free: 5.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01301/0.7639, allocations: 4.239 MB / 0.6836 GB, free: 1.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.7641, allocations: 120.2 kB / 0.6838 GB, free: 1.523 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.7656, allocations: 0.7865 MB / 0.6845 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.7659, allocations: 25.7 kB / 0.6845 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.7664, allocations: 0.5166 MB / 0.6851 GB, free: 172 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.7669, allocations: 350.8 kB / 0.6854 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.767, allocations: 0 / 0.6854 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.7671, allocations: 345.9 kB / 0.6857 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/0.768, allocations: 490.6 kB / 0.6862 GB, free: 15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.7689, allocations: 0.598 MB / 0.6868 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.7699, allocations: 0.5269 MB / 0.6873 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.7699, allocations: 0 / 0.6873 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01363/0.7835, allocations: 4.341 MB / 0.6915 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.7837, allocations: 59.41 kB / 0.6916 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.7837, allocations: 7.984 kB / 0.6916 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006494/0.7902, allocations: 1.791 MB / 0.6933 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.7914, allocations: 191.7 kB / 0.6935 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.8069, allocations: 7.445 MB / 0.7008 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.8089, allocations: 195.8 kB / 0.701 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000276/0.8092, allocations: 32 kB / 0.701 GB, free: 15.64 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRI.firstOrder2.y:VARIABLE(start = aVRI.firstOrder2.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (97): * Single equations (assignments): 94 * 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 {25 14} Notification: Performance of prepare postOptimizeDAE: time 0.00053/0.8097, allocations: 150.5 kB / 0.7011 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01298/0.8227, allocations: 4.241 MB / 0.7053 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006096/0.8234, allocations: 122.5 kB / 0.7054 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/0.8366, allocations: 4.355 MB / 0.7097 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.8367, allocations: 12 kB / 0.7097 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8367, allocations: 1.312 kB / 0.7097 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/0.8367, allocations: 3.984 kB / 0.7097 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/0.8528, allocations: 6.013 MB / 0.7155 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/0.8529, allocations: 2.688 kB / 0.7156 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.8539, allocations: 107.9 kB / 0.7157 GB, free: 480 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005834/0.8597, allocations: 1.754 MB / 0.7174 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003175/0.8601, allocations: 11.94 kB / 0.7174 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/0.8764, allocations: 8.119 MB / 0.7253 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.8765, allocations: 0 / 0.7253 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01492/0.8914, allocations: 5.147 MB / 0.7303 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006862/0.8921, allocations: 223.3 kB / 0.7305 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006165/0.8928, allocations: 4 kB / 0.7306 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.8945, allocations: 137.6 kB / 0.7307 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008541/0.8954, allocations: 220.8 kB / 0.7309 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/0.8956, allocations: 28 kB / 0.7309 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001168/0.8968, allocations: 0.6015 MB / 0.7315 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8968, allocations: 0 / 0.7315 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00212/0.8989, allocations: 419.5 kB / 0.7319 GB, free: 15.52 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete 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: 0 * Non-linear torn systems: 2 {26 10,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01525/0.9142, allocations: 5.822 MB / 0.7376 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006655/0.9209, allocations: 2.212 MB / 0.7398 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.921, allocations: 0 / 0.7398 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005115/0.9261, allocations: 1.687 MB / 0.7414 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.9275, allocations: 78.94 kB / 0.7415 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/0.933, allocations: 1.964 MB / 0.7434 GB, free: 3.613 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009033/0.934, allocations: 1.151 MB / 0.7445 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006255/0.9346, allocations: 82.7 kB / 0.7446 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008547/0.9355, allocations: 467.3 kB / 0.745 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of SimCode: time 1.302e-06/0.9355, allocations: 0 / 0.745 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/1.285, allocations: 30.59 MB / 0.7749 GB, free: 148.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/1.285, allocations: 138.4 kB / 0.775 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/4.16, allocations: 0 / 0.775 GB, free: 148.1 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)