Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 172.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008195, allocations: 83.62 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.081/0.081, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2825/0.2825, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.165e-05, allocations: 11.97 kB / 0.5213 GB, free: 24.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1258, allocations: 69.25 MB / 0.5889 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5526, allocations: 104.2 MB / 0.6907 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5529, allocations: 87.19 kB / 0.6908 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09477/0.6477, allocations: 35.46 MB / 0.7254 GB, free: 14.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.6477, allocations: 0 / 0.7254 GB, free: 14.05 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001093/0.6479, allocations: 31.94 kB / 0.7255 GB, free: 14.02 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.005737/0.6536, allocations: 1.953 MB / 0.7274 GB, free: 12.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.6537, allocations: 15.98 kB / 0.7274 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003409/0.654, allocations: 142.7 kB / 0.7275 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.6574, allocations: 0.5808 MB / 0.7281 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.6594, allocations: 0.8898 MB / 0.729 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.6598, allocations: 337.1 kB / 0.7293 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.6601, allocations: 90.94 kB / 0.7294 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001983/0.6621, allocations: 1.089 MB / 0.7304 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.6621, allocations: 0 / 0.7304 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.6622, allocations: 43.61 kB / 0.7305 GB, free: 9.602 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.6623, allocations: 20 kB / 0.7305 GB, free: 9.582 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.664, allocations: 0.967 MB / 0.7314 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007036/0.6711, allocations: 4.242 MB / 0.7356 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.6734, allocations: 1.551 MB / 0.7371 GB, free: 4.391 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000901/0.6743, allocations: 0.6753 MB / 0.7378 GB, free: 4.016 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.6744, allocations: 16.98 kB / 0.7378 GB, free: 3.996 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.6755, allocations: 0.7737 MB / 0.7385 GB, free: 3.473 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 2.675e-06/0.6755, allocations: 0 / 0.7385 GB, free: 3.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.01279/0.6883, allocations: 4.449 MB / 0.7429 GB, free: 15.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.6884, allocations: 115.8 kB / 0.743 GB, free: 15.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.6896, allocations: 0.8582 MB / 0.7438 GB, free: 14.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.6898, allocations: 43.58 kB / 0.7439 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.6901, allocations: 0.5351 MB / 0.7444 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.6905, allocations: 379.5 kB / 0.7448 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.641e-05/0.6906, allocations: 25.75 kB / 0.7448 GB, free: 14.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6907, allocations: 355.8 kB / 0.7451 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008076/0.6915, allocations: 0.517 MB / 0.7456 GB, free: 13.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.6924, allocations: 0.6472 MB / 0.7463 GB, free: 13.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/0.6934, allocations: 0.6122 MB / 0.7469 GB, free: 12.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6934, allocations: 0 / 0.7469 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01265/0.7061, allocations: 4.555 MB / 0.7513 GB, free: 8.172 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.7062, allocations: 59.39 kB / 0.7514 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7062, allocations: 11.89 kB / 0.7514 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005794/0.712, allocations: 1.839 MB / 0.7532 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7131, allocations: 211.7 kB / 0.7534 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/0.7294, allocations: 8.091 MB / 0.7613 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.7312, allocations: 239 kB / 0.7615 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7313, allocations: 43.98 kB / 0.7615 GB, free: 13.54 MB / 0.4948 GB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(start = exciter_Type_II.firstOrder2.y_start ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.7316, allocations: 205.4 kB / 0.7617 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/0.7318, allocations: 130.4 kB / 0.7619 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.7453, allocations: 4.6 MB / 0.7664 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.7454, allocations: 15.98 kB / 0.7664 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7454, allocations: 0 / 0.7664 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/0.7454, allocations: 7.984 kB / 0.7664 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.761, allocations: 6.438 MB / 0.7727 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.7611, allocations: 0 / 0.7727 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/0.7619, allocations: 131.9 kB / 0.7728 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00565/0.7676, allocations: 1.84 MB / 0.7746 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/0.7679, allocations: 24.05 kB / 0.7746 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.7837, allocations: 8.611 MB / 0.783 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7837, allocations: 4 kB / 0.783 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.7992, allocations: 5.455 MB / 0.7883 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.7999, allocations: 227.4 kB / 0.7886 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/0.8001, allocations: 27.94 kB / 0.7886 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.8018, allocations: 187.8 kB / 0.7888 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007148/0.8025, allocations: 232.6 kB / 0.789 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/0.8026, allocations: 31.92 kB / 0.789 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008645/0.8035, allocations: 0.6628 MB / 0.7897 GB, free: 208 kB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8035, allocations: 0 / 0.7897 GB, free: 208 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001359/0.8049, allocations: 479.4 kB / 0.7901 GB, free: 15.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 64 * 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 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01459/0.8195, allocations: 6.122 MB / 0.7961 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005456/0.825, allocations: 2.315 MB / 0.7984 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.825, allocations: 0 / 0.7984 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/0.8295, allocations: 1.788 MB / 0.8001 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009646/0.8305, allocations: 104.5 kB / 0.8002 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004414/0.8349, allocations: 2.138 MB / 0.8023 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.8356, allocations: 1.182 MB / 0.8035 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004272/0.836, allocations: 91.05 kB / 0.8035 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.8366, allocations: 495.2 kB / 0.804 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.8366, allocations: 0 / 0.804 GB, free: 1.301 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0559/0.8925, allocations: 34.09 MB / 0.8373 GB, free: 15.33 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001983/0.8928, allocations: 191.2 kB / 0.8375 GB, free: 15.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.818/3.711, allocations: 0 / 0.8375 GB, free: 15.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)