Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2043/0.2043, allocations: 12.59 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 111.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.091/3.091, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002819/0.002819, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8145/0.8145, allocations: 78.52 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005231/0.005231, allocations: 134.2 kB / 0.5554 GB, free: 28.79 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2535, allocations: 68.13 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.01522/0.2688, allocations: 6.67 MB / 0.6284 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009088/0.2779, allocations: 2.001 MB / 0.6304 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.28, allocations: 12 kB / 0.6304 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.2818, allocations: 237.9 kB / 0.6306 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.2867, allocations: 0.7701 MB / 0.6314 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.2896, allocations: 0.6696 MB / 0.632 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005204/0.2948, allocations: 1.651 MB / 0.6336 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.2964, allocations: 336.7 kB / 0.6339 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.2992, allocations: 0.673 MB / 0.6346 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.3023, allocations: 0.8129 MB / 0.6354 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009004/0.3033, allocations: 124 kB / 0.6355 GB, free: 1.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001895/0.3052, allocations: 259.9 kB / 0.6358 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3065, allocations: 330.6 kB / 0.6361 GB, free: 1.375 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002476/0.309, allocations: 0.6757 MB / 0.6367 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006316/0.3153, allocations: 1.687 MB / 0.6384 GB, free: 15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.3154, allocations: 7.938 kB / 0.6384 GB, free: 15 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.3154, allocations: 4 kB / 0.6384 GB, free: 14.99 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001131/0.3156, allocations: 0 / 0.6384 GB, free: 14.99 MB / 462.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.02152/0.3371, allocations: 2.766 MB / 0.6411 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.676e-05/0.3372, allocations: 11.98 kB / 0.6411 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006592/0.3379, allocations: 134.9 kB / 0.6412 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.3496, allocations: 0.7749 MB / 0.642 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.3542, allocations: 0.9015 MB / 0.6429 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007139/0.355, allocations: 252.2 kB / 0.6431 GB, free: 9.988 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006405/0.3556, allocations: 84 kB / 0.6432 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006054/0.3617, allocations: 1.176 MB / 0.6443 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.3618, allocations: 0 / 0.6443 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.3621, allocations: 32 kB / 0.6444 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.3622, allocations: 20 kB / 0.6444 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005274/0.3675, allocations: 1.078 MB / 0.6454 GB, free: 7.59 MB / 462.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.01461/0.3821, allocations: 3.66 MB / 0.649 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005775/0.3879, allocations: 1.552 MB / 0.6505 GB, free: 2.117 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003261/0.3912, allocations: 0.7892 MB / 0.6513 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.3914, allocations: 16.92 kB / 0.6513 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/0.3953, allocations: 0.8802 MB / 0.6522 GB, free: 420 kB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 8.657e-06/0.3953, allocations: 0 / 0.6522 GB, free: 420 kB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.05626/0.4516, allocations: 6.964 MB / 0.659 GB, free: 9.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4518, allocations: 115.8 kB / 0.6591 GB, free: 9.242 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003413/0.4552, allocations: 1.038 MB / 0.6601 GB, free: 8.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004349/0.4557, allocations: 45.7 kB / 0.6601 GB, free: 8.137 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008062/0.4565, allocations: 0.4969 MB / 0.6606 GB, free: 7.633 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.4576, allocations: 374.6 kB / 0.661 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/0.459, allocations: 255.4 kB / 0.6612 GB, free: 7.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.4593, allocations: 353.9 kB / 0.6616 GB, free: 6.656 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/0.4621, allocations: 0.7613 MB / 0.6623 GB, free: 5.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/0.4652, allocations: 0.9116 MB / 0.6632 GB, free: 4.949 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04222/0.5074, allocations: 5.418 MB / 0.6685 GB, free: 15.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.971e-05/0.5075, allocations: 0 / 0.6685 GB, free: 15.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.02938/0.5369, allocations: 4.51 MB / 0.6729 GB, free: 10.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.5371, allocations: 67.33 kB / 0.673 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/0.5372, allocations: 7.938 kB / 0.673 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01076/0.548, allocations: 1.846 MB / 0.6748 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/0.5503, allocations: 247.7 kB / 0.675 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03195/0.5823, allocations: 9.462 MB / 0.6842 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/0.5848, allocations: 198.8 kB / 0.6844 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003948/0.5852, allocations: 47.98 kB / 0.6845 GB, free: 14.88 MB / 0.4981 GB 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.001076/0.5863, allocations: 288 kB / 0.6848 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000572/0.5869, allocations: 122.5 kB / 0.6849 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/0.6037, allocations: 4.193 MB / 0.689 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/0.6038, allocations: 12 kB / 0.689 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.6038, allocations: 0 / 0.689 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.814e-05/0.6038, allocations: 7.922 kB / 0.689 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02782/0.6317, allocations: 5.961 MB / 0.6948 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/0.6318, allocations: 0 / 0.6948 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.6331, allocations: 111.8 kB / 0.6949 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01087/0.644, allocations: 1.82 MB / 0.6967 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005135/0.6446, allocations: 27.98 kB / 0.6967 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03623/0.6809, allocations: 10.31 MB / 0.7068 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/0.6809, allocations: 3.938 kB / 0.7068 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/0.7007, allocations: 5.136 MB / 0.7118 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.7019, allocations: 219.3 kB / 0.712 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007508/0.7027, allocations: 23.94 kB / 0.712 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/0.7053, allocations: 115.9 kB / 0.7121 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/0.7066, allocations: 208.7 kB / 0.7123 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/0.7069, allocations: 31.92 kB / 0.7124 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00197/0.7089, allocations: 0.7071 MB / 0.7131 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.238e-06/0.7089, allocations: 96 / 0.7131 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003372/0.7123, allocations: 487.4 kB / 0.7135 GB, free: 0.582 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.6875/1.4, allocations: 5.699 MB / 0.7191 GB, free: 84.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01462/1.415, allocations: 2.687 MB / 0.7217 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.415, allocations: 0 / 0.7217 GB, free: 83.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/1.425, allocations: 1.801 MB / 0.7235 GB, free: 82.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.428, allocations: 118.9 kB / 0.7236 GB, free: 82.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08129/1.509, allocations: 16.57 MB / 0.7398 GB, free: 76.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.511, allocations: 1.132 MB / 0.7409 GB, free: 76.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001413/1.512, allocations: 109.1 kB / 0.741 GB, free: 76.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.514, allocations: 481.2 kB / 0.7414 GB, free: 75.84 MB / 0.5137 GB Notification: Performance of SimCode: time 3.086e-06/1.514, allocations: 0 / 0.7414 GB, free: 75.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2024/1.717, allocations: 38.77 MB / 0.7793 GB, free: 39.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.3/28.02, allocations: 11.61 kB / 0.7793 GB, free: 39.45 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeII_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)