Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8612/0.8612, allocations: 177.2 MB / 199.4 MB, free: 5.949 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 164.5 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2622/0.2622, allocations: 80.26 MB / 392.6 MB, free: 2.441 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,fileNamePrefix="OpenIPSL_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_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.783e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.007044/0.007062, allocations: 6.185 MB / 0.5608 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.01076, allocations: 2.093 MB / 0.5629 GB, free: 4.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.01143, allocations: 15.94 kB / 0.5629 GB, free: 4.004 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006643/0.01209, allocations: 253.7 kB / 0.5631 GB, free: 3.754 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.01357, allocations: 0.8423 MB / 0.5639 GB, free: 2.906 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.01476, allocations: 0.7692 MB / 0.5647 GB, free: 2.148 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.01631, allocations: 1.74 MB / 0.5664 GB, free: 412 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.01673, allocations: 272.1 kB / 0.5667 GB, free: 120 kB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2132/0.23, allocations: 0.9754 MB / 0.5676 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000917/0.2309, allocations: 0.6638 MB / 0.5683 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.2311, allocations: 133.2 kB / 0.5684 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.2317, allocations: 286.8 kB / 0.5687 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.2319, allocations: 351.6 kB / 0.569 GB, free: 15.49 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.2324, allocations: 487.7 kB / 0.5695 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2343, allocations: 1.894 MB / 0.5713 GB, free: 15.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2343, allocations: 0 / 0.5713 GB, free: 15.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2343, allocations: 0 / 0.5713 GB, free: 15.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.2343, allocations: 2.469 kB / 0.5713 GB, free: 15.27 MB / 442.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.005493/0.2398, allocations: 2.974 MB / 0.5742 GB, free: 14.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2399, allocations: 10.97 kB / 0.5742 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.24, allocations: 141.5 kB / 0.5744 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.2427, allocations: 0.8145 MB / 0.5752 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2438, allocations: 0.8678 MB / 0.576 GB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.2441, allocations: 483 kB / 0.5765 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.2442, allocations: 90.73 kB / 0.5766 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.246, allocations: 1.321 MB / 0.5778 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.246, allocations: 2.062 kB / 0.5778 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/0.2461, allocations: 35.41 kB / 0.5779 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.2461, allocations: 22.06 kB / 0.5779 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.2478, allocations: 1.217 MB / 0.5791 GB, free: 12.44 MB / 442.7 MB 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.004682/0.2525, allocations: 3.292 MB / 0.5823 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.2544, allocations: 1.248 MB / 0.5835 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.2555, allocations: 0.8065 MB / 0.5843 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.136e-05/0.2556, allocations: 13.89 kB / 0.5843 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.2569, allocations: 0.9904 MB / 0.5853 GB, free: 9.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=108): time 2.284e-06/0.2569, allocations: 0 / 0.5853 GB, free: 9.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.01683/0.2737, allocations: 7.617 MB / 0.5927 GB, free: 6.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.2738, allocations: 118 kB / 0.5928 GB, free: 6.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.275, allocations: 1.052 MB / 0.5939 GB, free: 6.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.523e-05/0.2751, allocations: 42.3 kB / 0.5939 GB, free: 6.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.2753, allocations: 0.5278 MB / 0.5944 GB, free: 5.703 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/0.2756, allocations: 404.7 kB / 0.5948 GB, free: 5.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.2759, allocations: 247.6 kB / 0.595 GB, free: 5.211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.202e-05/0.276, allocations: 357.6 kB / 0.5954 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.2771, allocations: 0.8357 MB / 0.5962 GB, free: 4.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.2783, allocations: 1.001 MB / 0.5972 GB, free: 3.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.2894, allocations: 5.589 MB / 0.6026 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.2894, allocations: 4 kB / 0.6026 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.007514/0.2969, allocations: 4.476 MB / 0.607 GB, free: 12.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.2969, allocations: 67.7 kB / 0.6071 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.297, allocations: 4.875 kB / 0.6071 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/0.3002, allocations: 1.73 MB / 0.6088 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/0.301, allocations: 282 kB / 0.609 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01232/0.3133, allocations: 8.759 MB / 0.6176 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.3144, allocations: 207.1 kB / 0.6178 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.3145, allocations: 51.98 kB / 0.6178 GB, free: 1.637 MB / 458.7 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real generator.e1q:VARIABLE(start = generator.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: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005073/0.315, allocations: 302.8 kB / 0.6181 GB, free: 1.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.3151, allocations: 142 kB / 0.6183 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007893/0.323, allocations: 4.38 MB / 0.6225 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.323, allocations: 15.94 kB / 0.6226 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.323, allocations: 4.625 kB / 0.6226 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3231, allocations: 7.969 kB / 0.6226 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00957/0.3326, allocations: 5.652 MB / 0.6281 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.3326, allocations: 0 / 0.6281 GB, free: 7.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.333, allocations: 127.4 kB / 0.6282 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003356/0.3363, allocations: 1.892 MB / 0.6301 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.3364, allocations: 31.97 kB / 0.6301 GB, free: 5.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01372/0.3501, allocations: 10.28 MB / 0.6401 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3501, allocations: 3.656 kB / 0.6401 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009356/0.3595, allocations: 5.451 MB / 0.6455 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.3598, allocations: 158.8 kB / 0.6456 GB, free: 4.984 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.3599, allocations: 23.94 kB / 0.6456 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006726/0.3606, allocations: 135.8 kB / 0.6458 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/0.3611, allocations: 244.6 kB / 0.646 GB, free: 4.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.3611, allocations: 34.92 kB / 0.646 GB, free: 4.559 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007374/0.3619, allocations: 0.7045 MB / 0.6467 GB, free: 3.848 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3619, allocations: 3.938 kB / 0.6467 GB, free: 3.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001166/0.363, allocations: 494.6 kB / 0.6472 GB, free: 3.363 MB / 490.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,13), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009396/0.3724, allocations: 6.024 MB / 0.6531 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004147/0.3766, allocations: 2.684 MB / 0.6557 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3766, allocations: 3.938 kB / 0.6557 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002711/0.3793, allocations: 1.828 MB / 0.6575 GB, free: 8.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.38, allocations: 137.2 kB / 0.6576 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/0.4037, allocations: 16.87 MB / 0.6741 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.4041, allocations: 0.5725 MB / 0.6746 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.4045, allocations: 112.3 kB / 0.6748 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004667/0.4049, allocations: 0.4964 MB / 0.6752 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/0.4049, allocations: 0 / 0.6752 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04598/0.4509, allocations: 41.44 MB / 0.7157 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/9.355, allocations: 9 kB / 0.7157 GB, free: 13.14 MB / 0.5573 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_OEL_AVRTypeII_OEL_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.720804069191217] Failed to read output from testmodel.py, exit status != 0: 9.463841129094362 9.471632472 9.23551591 Calling exit ...