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.005922/0.005922, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.297/1.297, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001467/0.001467, allocations: 184.5 kB / 289.7 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.4421/0.4421, allocations: 78.52 MB / 418.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 75.88 kB / 0.5536 GB, free: 1.043 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3062, allocations: 68.17 MB / 0.6202 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.005106/0.3113, allocations: 6.627 MB / 0.6266 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.3142, allocations: 2.024 MB / 0.6286 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.3145, allocations: 15.94 kB / 0.6286 GB, free: 1.715 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005283/0.3151, allocations: 238 kB / 0.6289 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.3164, allocations: 0.7697 MB / 0.6296 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3175, allocations: 0.6748 MB / 0.6303 GB, free: 40 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.319, allocations: 1.631 MB / 0.6319 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/0.3194, allocations: 344.6 kB / 0.6322 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.3202, allocations: 0.673 MB / 0.6328 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.3211, allocations: 0.8206 MB / 0.6337 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.3212, allocations: 124 kB / 0.6338 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.3217, allocations: 259.9 kB / 0.634 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.322, allocations: 318.7 kB / 0.6343 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000536/0.3225, allocations: 0.6835 MB / 0.635 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.324, allocations: 1.699 MB / 0.6366 GB, free: 9.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.324, allocations: 0 / 0.6366 GB, free: 9.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.324, allocations: 0 / 0.6366 GB, free: 9.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.3241, allocations: 3.938 kB / 0.6367 GB, free: 9.469 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.008137/0.3322, allocations: 2.758 MB / 0.6393 GB, free: 6.637 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.3322, allocations: 8.031 kB / 0.6394 GB, free: 6.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/0.3371, allocations: 0.7865 MB / 0.6401 GB, free: 5.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.3388, allocations: 0.8938 MB / 0.641 GB, free: 4.891 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.3391, allocations: 252.2 kB / 0.6412 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.3393, allocations: 95.89 kB / 0.6413 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.3415, allocations: 1.184 MB / 0.6425 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3416, allocations: 0 / 0.6425 GB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.226e-05/0.3417, allocations: 32 kB / 0.6425 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3417, allocations: 20 kB / 0.6425 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.3439, allocations: 1.074 MB / 0.6436 GB, free: 2.195 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.006272/0.3501, allocations: 3.649 MB / 0.6471 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.3527, allocations: 1.553 MB / 0.6487 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.3541, allocations: 0.7855 MB / 0.6494 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.3543, allocations: 16.98 kB / 0.6494 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.3559, allocations: 0.8919 MB / 0.6503 GB, free: 11.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=102): time 2.545e-06/0.3559, allocations: 0 / 0.6503 GB, free: 11.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=102): time 0.02452/0.3805, allocations: 6.949 MB / 0.6571 GB, free: 4.008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.3806, allocations: 115.8 kB / 0.6572 GB, free: 3.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.3822, allocations: 1.031 MB / 0.6582 GB, free: 2.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/0.3824, allocations: 45.7 kB / 0.6583 GB, free: 2.773 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.3828, allocations: 0.5046 MB / 0.6588 GB, free: 2.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.3831, allocations: 374.7 kB / 0.6591 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000446/0.3836, allocations: 247.4 kB / 0.6593 GB, free: 1.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3837, allocations: 357.9 kB / 0.6597 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.3853, allocations: 0.7652 MB / 0.6604 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.3869, allocations: 0.9077 MB / 0.6613 GB, free: 15.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/0.4073, allocations: 5.417 MB / 0.6666 GB, free: 10.08 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.4073, allocations: 0 / 0.6666 GB, free: 10.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01331/0.4206, allocations: 4.51 MB / 0.671 GB, free: 5.543 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.4207, allocations: 59.41 kB / 0.6711 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4207, allocations: 0 / 0.6711 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006476/0.4272, allocations: 1.861 MB / 0.6729 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4285, allocations: 247.7 kB / 0.6731 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02136/0.4498, allocations: 9.472 MB / 0.6824 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.4517, allocations: 198.8 kB / 0.6826 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.4519, allocations: 51.98 kB / 0.6826 GB, free: 9.496 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.0006265/0.4526, allocations: 295.2 kB / 0.6829 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.4529, allocations: 122.5 kB / 0.683 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.4656, allocations: 4.196 MB / 0.6871 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.4657, allocations: 8 kB / 0.6871 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4657, allocations: 0 / 0.6871 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.4657, allocations: 15.91 kB / 0.6871 GB, free: 4.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.4814, allocations: 5.969 MB / 0.693 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4815, allocations: 0 / 0.693 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007279/0.4822, allocations: 103.8 kB / 0.6931 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005906/0.4881, allocations: 1.824 MB / 0.6948 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001885/0.4883, allocations: 24 kB / 0.6949 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/0.5092, allocations: 10.3 MB / 0.7049 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5092, allocations: 3.938 kB / 0.7049 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.5248, allocations: 5.136 MB / 0.7099 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.5254, allocations: 219.2 kB / 0.7102 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.5259, allocations: 23.94 kB / 0.7102 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.5274, allocations: 115.9 kB / 0.7103 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008415/0.5283, allocations: 212.7 kB / 0.7105 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/0.5285, allocations: 28 kB / 0.7105 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001322/0.5298, allocations: 0.6996 MB / 0.7112 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5298, allocations: 3.938 kB / 0.7112 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001742/0.5316, allocations: 491.5 kB / 0.7117 GB, free: 11.2 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.0003342/0.5319, allocations: 132.4 kB / 0.7118 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007005/0.5389, allocations: 2.679 MB / 0.7144 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.539, allocations: 4.062 kB / 0.7144 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/0.5437, allocations: 1.794 MB / 0.7162 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009995/0.5447, allocations: 113.8 kB / 0.7163 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004405/0.5492, allocations: 2.338 MB / 0.7186 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007601/0.5499, allocations: 1.132 MB / 0.7197 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004089/0.5504, allocations: 115.8 kB / 0.7198 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.5506, allocations: 71.42 kB / 0.7198 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.5506, allocations: 0 / 0.7198 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.04166/0.5923, allocations: 26.64 MB / 0.7459 GB, free: 8.051 MB / 0.545 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)