Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007038/0.007038, allocations: 101.5 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 200.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4356/0.4356, allocations: 78.54 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 83.86 kB / 0.5531 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2944, allocations: 68.17 MB / 0.6197 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005426/0.2998, allocations: 6.621 MB / 0.6262 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3031, allocations: 2.036 MB / 0.6281 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005767/0.3037, allocations: 12 kB / 0.6282 GB, free: 1.469 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.3043, allocations: 237.9 kB / 0.6284 GB, free: 1.234 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.3059, allocations: 0.7613 MB / 0.6291 GB, free: 484 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3072, allocations: 0.6788 MB / 0.6298 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.3091, allocations: 1.635 MB / 0.6314 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005653/0.3097, allocations: 358.9 kB / 0.6317 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3107, allocations: 0.6691 MB / 0.6324 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.3117, allocations: 0.809 MB / 0.6332 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.312, allocations: 124 kB / 0.6333 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.3125, allocations: 271.8 kB / 0.6336 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.3128, allocations: 322.6 kB / 0.6339 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.3134, allocations: 0.6719 MB / 0.6345 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.315, allocations: 1.701 MB / 0.6362 GB, free: 9.227 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.315, allocations: 0 / 0.6362 GB, free: 9.227 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3151, allocations: 0 / 0.6362 GB, free: 9.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.3151, allocations: 3.938 kB / 0.6362 GB, free: 9.223 MB / 446.1 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.009322/0.3244, allocations: 2.762 MB / 0.6389 GB, free: 6.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.3245, allocations: 8.031 kB / 0.6389 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3246, allocations: 134.9 kB / 0.639 GB, free: 6.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.3298, allocations: 0.7826 MB / 0.6398 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.3315, allocations: 0.8938 MB / 0.6407 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.3318, allocations: 256.1 kB / 0.6409 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.332, allocations: 91.89 kB / 0.641 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.3344, allocations: 1.176 MB / 0.6421 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3344, allocations: 0 / 0.6421 GB, free: 2.938 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.3346, allocations: 39.98 kB / 0.6422 GB, free: 2.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3346, allocations: 16 kB / 0.6422 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.337, allocations: 1.074 MB / 0.6432 GB, free: 1.812 MB / 446.1 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.006545/0.3436, allocations: 3.66 MB / 0.6468 GB, free: 14.02 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.3462, allocations: 1.546 MB / 0.6483 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/0.3478, allocations: 0.7815 MB / 0.6491 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.348, allocations: 20.92 kB / 0.6491 GB, free: 11.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.3499, allocations: 0.892 MB / 0.65 GB, free: 10.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.765e-06/0.3499, allocations: 0 / 0.65 GB, free: 10.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02851/0.3784, allocations: 6.953 MB / 0.6568 GB, free: 3.617 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.3785, allocations: 115.8 kB / 0.6569 GB, free: 3.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.3801, allocations: 1.027 MB / 0.6579 GB, free: 2.438 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.3804, allocations: 45.7 kB / 0.6579 GB, free: 2.387 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.3808, allocations: 0.5046 MB / 0.6584 GB, free: 1.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004213/0.3812, allocations: 370.7 kB / 0.6588 GB, free: 1.508 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/0.3817, allocations: 251.5 kB / 0.659 GB, free: 1.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3819, allocations: 357.9 kB / 0.6593 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/0.3837, allocations: 0.7574 MB / 0.6601 GB, free: 148 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.3856, allocations: 0.9116 MB / 0.661 GB, free: 15.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02292/0.4086, allocations: 5.421 MB / 0.6663 GB, free: 9.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.4086, allocations: 4 kB / 0.6663 GB, free: 9.691 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01582/0.4244, allocations: 4.499 MB / 0.6707 GB, free: 5.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.634e-05/0.4246, allocations: 65.75 kB / 0.6707 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4246, allocations: 7.938 kB / 0.6707 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007533/0.4321, allocations: 1.861 MB / 0.6726 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.4335, allocations: 239.7 kB / 0.6728 GB, free: 2.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/0.458, allocations: 9.471 MB / 0.682 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.4599, allocations: 198.7 kB / 0.6822 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.4601, allocations: 47.98 kB / 0.6823 GB, free: 9.113 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006493/0.4608, allocations: 284.8 kB / 0.6825 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/0.4612, allocations: 126.5 kB / 0.6827 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/0.4761, allocations: 4.2 MB / 0.6868 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.4761, allocations: 12 kB / 0.6868 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4761, allocations: 0 / 0.6868 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/0.4762, allocations: 15.86 kB / 0.6868 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.4934, allocations: 5.961 MB / 0.6926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.4935, allocations: 0 / 0.6926 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.4943, allocations: 111.9 kB / 0.6927 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006731/0.501, allocations: 1.828 MB / 0.6945 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.5012, allocations: 19.98 kB / 0.6945 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/0.5249, allocations: 10.29 MB / 0.7046 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.525, allocations: 7.938 kB / 0.7046 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.017/0.542, allocations: 5.136 MB / 0.7096 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.5424, allocations: 223.3 kB / 0.7098 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/0.5428, allocations: 27.92 kB / 0.7098 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.5442, allocations: 107.9 kB / 0.7099 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007038/0.5449, allocations: 212.7 kB / 0.7101 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.5451, allocations: 28.19 kB / 0.7102 GB, free: 12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001147/0.5462, allocations: 0.7032 MB / 0.7109 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5462, allocations: 3.938 kB / 0.7109 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001469/0.5477, allocations: 479.5 kB / 0.7113 GB, free: 10.82 MB / 0.5137 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 () * 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 (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,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0171/0.5648, allocations: 5.719 MB / 0.7169 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007917/0.5728, allocations: 2.679 MB / 0.7195 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5728, allocations: 0 / 0.7195 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005486/0.5783, allocations: 1.795 MB / 0.7213 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5794, allocations: 112.4 kB / 0.7214 GB, free: 400 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04445/0.6239, allocations: 16.59 MB / 0.7376 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/0.6248, allocations: 1.132 MB / 0.7387 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005245/0.6253, allocations: 107.9 kB / 0.7388 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000711/0.626, allocations: 475.3 kB / 0.7392 GB, free: 13.87 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/0.626, allocations: 0 / 0.7392 GB, free: 13.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3182/0.9442, allocations: 38.79 MB / 0.7771 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.23, allocations: 1.375 kB / 0.7771 GB, free: 139.9 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)