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: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.346/1.346, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001469/0.001469, allocations: 184.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4541/0.4541, allocations: 78.55 MB / 419.1 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 0.5543 GB, free: 1.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2903, allocations: 68.17 MB / 0.6209 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005402/0.2957, allocations: 6.627 MB / 0.6273 GB, free: 3.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003518/0.2993, allocations: 2.02 MB / 0.6293 GB, free: 1.574 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007035/0.3, allocations: 8 kB / 0.6293 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.3007, allocations: 245.9 kB / 0.6295 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.3027, allocations: 0.8206 MB / 0.6303 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.304, allocations: 0.6706 MB / 0.631 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.3058, allocations: 1.643 MB / 0.6326 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004881/0.3063, allocations: 356.6 kB / 0.6329 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008468/0.3072, allocations: 0.6691 MB / 0.6336 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008597/0.3081, allocations: 0.8051 MB / 0.6344 GB, free: 12.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.3082, allocations: 124 kB / 0.6345 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.3087, allocations: 267.8 kB / 0.6348 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.309, allocations: 330.6 kB / 0.6351 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005065/0.3095, allocations: 0.668 MB / 0.6357 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3111, allocations: 1.706 MB / 0.6374 GB, free: 9.258 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3111, allocations: 0 / 0.6374 GB, free: 9.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3111, allocations: 0 / 0.6374 GB, free: 9.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.3111, allocations: 4 kB / 0.6374 GB, free: 9.254 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.008995/0.3201, allocations: 2.754 MB / 0.6401 GB, free: 6.426 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3202, allocations: 12.03 kB / 0.6401 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.3254, allocations: 0.7826 MB / 0.6409 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.3272, allocations: 0.8938 MB / 0.6417 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.3275, allocations: 256.1 kB / 0.642 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.3277, allocations: 87.91 kB / 0.6421 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.3301, allocations: 1.176 MB / 0.6432 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.3301, allocations: 0 / 0.6432 GB, free: 3.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.3303, allocations: 32 kB / 0.6432 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.3303, allocations: 16 kB / 0.6433 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.3326, allocations: 1.078 MB / 0.6443 GB, free: 1.996 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.006676/0.3393, allocations: 3.664 MB / 0.6479 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.3418, allocations: 1.546 MB / 0.6494 GB, free: 12.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.3434, allocations: 0.7816 MB / 0.6502 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.3435, allocations: 16.94 kB / 0.6502 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001805/0.3453, allocations: 0.8919 MB / 0.651 GB, free: 10.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 4.018e-06/0.3454, allocations: 0 / 0.651 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02725/0.3726, allocations: 6.953 MB / 0.6578 GB, free: 3.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.3727, allocations: 115.8 kB / 0.6579 GB, free: 3.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.3745, allocations: 1.031 MB / 0.6589 GB, free: 2.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.3747, allocations: 53.73 kB / 0.659 GB, free: 2.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.3751, allocations: 0.4968 MB / 0.6595 GB, free: 2.055 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004295/0.3755, allocations: 374.7 kB / 0.6598 GB, free: 1.684 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005213/0.3761, allocations: 247.4 kB / 0.6601 GB, free: 1.438 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3762, allocations: 353.9 kB / 0.6604 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.3779, allocations: 0.7652 MB / 0.6612 GB, free: 328 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.3798, allocations: 0.9154 MB / 0.6621 GB, free: 15.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02196/0.4017, allocations: 5.41 MB / 0.6673 GB, free: 9.879 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-06/0.4018, allocations: 4 kB / 0.6673 GB, free: 9.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.015/0.4168, allocations: 4.503 MB / 0.6717 GB, free: 5.344 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.4169, allocations: 63.34 kB / 0.6718 GB, free: 5.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4169, allocations: 4 kB / 0.6718 GB, free: 5.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007097/0.424, allocations: 1.857 MB / 0.6736 GB, free: 3.402 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.4254, allocations: 255.6 kB / 0.6739 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/0.4488, allocations: 9.471 MB / 0.6831 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.4508, allocations: 194.8 kB / 0.6833 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.4511, allocations: 51.92 kB / 0.6833 GB, free: 9.289 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.0007364/0.4518, allocations: 292.9 kB / 0.6836 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.4521, allocations: 122.5 kB / 0.6837 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/0.4667, allocations: 4.193 MB / 0.6878 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.374e-05/0.4668, allocations: 3.984 kB / 0.6878 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4668, allocations: 0 / 0.6878 GB, free: 4.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.4673, allocations: 231.2 kB / 0.6881 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.4677, allocations: 23.92 kB / 0.6881 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.4691, allocations: 111.9 kB / 0.6882 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/0.4704, allocations: 0.4885 MB / 0.6887 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007527/0.4779, allocations: 2.412 MB / 0.691 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005091/0.4831, allocations: 2.441 MB / 0.6934 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00145/0.4845, allocations: 0.6362 MB / 0.694 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001249/0.4858, allocations: 0.7032 MB / 0.6947 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of Backend: time 1.062e-06/0.4858, allocations: 0 / 0.6947 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007198/0.493, allocations: 2.178 MB / 0.6968 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004306/0.4973, allocations: 3.005 MB / 0.6998 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of Templates: time 0.03944/0.5368, allocations: 24.97 MB / 0.7242 GB, free: 15.27 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)