Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_dev_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.0009407/0.0009407, allocations: 174.6 kB / 7.647 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.234/1.234, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008967/0.0008967, allocations: 100.4 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.4385/0.4385, allocations: 78.94 MB / 410.2 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.644e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 69.52 MB / 0.5425 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4887, allocations: 100.7 MB / 0.6408 GB, free: 13.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.489, allocations: 84.56 kB / 0.6409 GB, free: 13.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08186/0.5709, allocations: 29.87 MB / 0.6701 GB, free: 15.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5709, allocations: 0 / 0.6701 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.488e-05/0.571, allocations: 27.94 kB / 0.6701 GB, free: 15.38 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005367/0.5764, allocations: 1.872 MB / 0.6719 GB, free: 13.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5764, allocations: 12.03 kB / 0.6719 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/0.5798, allocations: 0.568 MB / 0.6725 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.5817, allocations: 0.832 MB / 0.6733 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.582, allocations: 224.2 kB / 0.6735 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.5822, allocations: 52 kB / 0.6736 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/0.5839, allocations: 0.8638 MB / 0.6744 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.5856, allocations: 0.8992 MB / 0.6753 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5856, allocations: 0 / 0.6753 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.5857, allocations: 0 / 0.6753 GB, free: 9.906 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5858, allocations: 20 kB / 0.6753 GB, free: 9.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.5925, allocations: 3.606 MB / 0.6788 GB, free: 6.168 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.5943, allocations: 1.345 MB / 0.6802 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009066/0.5952, allocations: 0.6105 MB / 0.6808 GB, free: 4.086 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.5953, allocations: 18.8 kB / 0.6808 GB, free: 4.07 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.5965, allocations: 0.7035 MB / 0.6815 GB, free: 3.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=102): time 2.755e-06/0.5965, allocations: 0 / 0.6815 GB, free: 3.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=102): time 0.01286/0.6094, allocations: 4.239 MB / 0.6856 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.6094, allocations: 120.1 kB / 0.6857 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6107, allocations: 0.7826 MB / 0.6865 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.6108, allocations: 25.7 kB / 0.6865 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.6112, allocations: 0.5166 MB / 0.687 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.6116, allocations: 350.8 kB / 0.6873 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.6117, allocations: 4.031 kB / 0.6873 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6118, allocations: 341.9 kB / 0.6877 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008346/0.6127, allocations: 490.6 kB / 0.6881 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009008/0.6136, allocations: 0.6018 MB / 0.6887 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000925/0.6145, allocations: 0.5308 MB / 0.6892 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.6145, allocations: 0 / 0.6892 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0134/0.6279, allocations: 4.332 MB / 0.6935 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/0.628, allocations: 71.34 kB / 0.6935 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6281, allocations: 5.484 kB / 0.6935 GB, free: 6.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0064/0.6345, allocations: 1.795 MB / 0.6953 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6356, allocations: 183.7 kB / 0.6955 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/0.6528, allocations: 7.445 MB / 0.7027 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.6556, allocations: 195 kB / 0.7029 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.6559, allocations: 35.98 kB / 0.703 GB, free: 13.05 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.0005255/0.6564, allocations: 142.6 kB / 0.7031 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02388/0.6803, allocations: 4.251 MB / 0.7073 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/0.6811, allocations: 122.5 kB / 0.7074 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.697, allocations: 4.359 MB / 0.7116 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.697, allocations: 12 kB / 0.7116 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.697, allocations: 0 / 0.7116 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.6971, allocations: 7.969 kB / 0.7116 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/0.7127, allocations: 5.998 MB / 0.7175 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7127, allocations: 7.969 kB / 0.7175 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007259/0.7134, allocations: 103.9 kB / 0.7176 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005407/0.7189, allocations: 1.754 MB / 0.7193 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.719, allocations: 11.98 kB / 0.7193 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/0.7336, allocations: 8.115 MB / 0.7273 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7336, allocations: 0 / 0.7273 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/0.7478, allocations: 5.159 MB / 0.7323 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.7483, allocations: 215.4 kB / 0.7325 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000307/0.7486, allocations: 8 kB / 0.7325 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7501, allocations: 135.9 kB / 0.7326 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007045/0.7508, allocations: 212.9 kB / 0.7328 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.7509, allocations: 35.17 kB / 0.7329 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001092/0.752, allocations: 0.5937 MB / 0.7335 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.752, allocations: 0 / 0.7335 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001681/0.7537, allocations: 423.5 kB / 0.7339 GB, free: 12.95 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.01659/0.7703, allocations: 5.826 MB / 0.7395 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005424/0.7758, allocations: 2.212 MB / 0.7417 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7758, allocations: 4.188 kB / 0.7417 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.7801, allocations: 1.683 MB / 0.7434 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.7809, allocations: 81.66 kB / 0.7434 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.7849, allocations: 1.955 MB / 0.7453 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/0.7856, allocations: 1.151 MB / 0.7465 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.786, allocations: 86.7 kB / 0.7465 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.7866, allocations: 463.3 kB / 0.747 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of SimCode: time 5.01e-07/0.7866, allocations: 0 / 0.747 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3071/1.094, allocations: 30.6 MB / 0.7769 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.094, allocations: 136.4 kB / 0.777 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/4.037, allocations: 2.188 kB / 0.777 GB, free: 144.3 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)