Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 168.2 kB / 16.1 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.3 MB / 240.1 MB, free: 9.852 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 90.19 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4677/0.4677, allocations: 78.61 MB / 421 MB, free: 9.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004006, allocations: 15.94 kB / 0.4894 GB, free: 9.234 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3225, allocations: 69.34 MB / 0.5571 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.004788/0.3273, allocations: 6.479 MB / 0.5635 GB, free: 12.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.3302, allocations: 2.04 MB / 0.5655 GB, free: 10.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003663/0.3305, allocations: 15.94 kB / 0.5655 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000517/0.3311, allocations: 194.8 kB / 0.5657 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.3324, allocations: 0.6692 MB / 0.5663 GB, free: 9.387 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3334, allocations: 0.6266 MB / 0.5669 GB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009777/0.3344, allocations: 1.542 MB / 0.5684 GB, free: 7.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.3348, allocations: 311.7 kB / 0.5687 GB, free: 6.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004916/0.3353, allocations: 0.5831 MB / 0.5693 GB, free: 6.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.3359, allocations: 0.7348 MB / 0.57 GB, free: 5.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.336, allocations: 60 kB / 0.5701 GB, free: 5.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.3363, allocations: 187.9 kB / 0.5702 GB, free: 5.336 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.3365, allocations: 250.7 kB / 0.5705 GB, free: 5.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.3369, allocations: 0.6344 MB / 0.5711 GB, free: 4.445 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000789/0.3377, allocations: 1.247 MB / 0.5723 GB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3377, allocations: 0 / 0.5723 GB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3377, allocations: 0 / 0.5723 GB, free: 3.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.3378, allocations: 0 / 0.5723 GB, free: 3.195 MB / 378.7 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.006919/0.3447, allocations: 2.587 MB / 0.5749 GB, free: 0.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3447, allocations: 8.031 kB / 0.5749 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.3493, allocations: 0.7826 MB / 0.5756 GB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.3507, allocations: 0.8898 MB / 0.5765 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.351, allocations: 264.2 kB / 0.5767 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.3512, allocations: 84 kB / 0.5768 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002318/0.3535, allocations: 1.254 MB / 0.5781 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.3535, allocations: 0 / 0.5781 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/0.3536, allocations: 32 kB / 0.5781 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.3537, allocations: 20 kB / 0.5781 GB, free: 13.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.356, allocations: 1.148 MB / 0.5792 GB, free: 11.96 MB / 394.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.00649/0.3625, allocations: 3.75 MB / 0.5829 GB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/0.365, allocations: 1.613 MB / 0.5845 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.3667, allocations: 0.8556 MB / 0.5853 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.3668, allocations: 12.94 kB / 0.5853 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001785/0.3686, allocations: 0.9699 MB / 0.5863 GB, free: 4.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=102): time 3.597e-06/0.3686, allocations: 0 / 0.5863 GB, free: 4.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=102): time 0.02719/0.3958, allocations: 8.527 MB / 0.5946 GB, free: 11.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.3959, allocations: 115.8 kB / 0.5947 GB, free: 11.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3977, allocations: 1.035 MB / 0.5957 GB, free: 10.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.3979, allocations: 49.7 kB / 0.5957 GB, free: 10.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.3984, allocations: 0.5007 MB / 0.5962 GB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.3988, allocations: 370.7 kB / 0.5966 GB, free: 9.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.399, allocations: 125.6 kB / 0.5967 GB, free: 9.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.3992, allocations: 361.9 kB / 0.5971 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.4009, allocations: 0.8238 MB / 0.5979 GB, free: 8.457 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001763/0.4027, allocations: 0.9818 MB / 0.5988 GB, free: 7.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0204/0.4231, allocations: 5.908 MB / 0.6046 GB, free: 1.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4231, allocations: 4 kB / 0.6046 GB, free: 1.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01517/0.4383, allocations: 5.405 MB / 0.6099 GB, free: 12.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/0.4384, allocations: 63.39 kB / 0.6099 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4384, allocations: 4 kB / 0.6099 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007125/0.4456, allocations: 2.174 MB / 0.6121 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/0.447, allocations: 251.7 kB / 0.6123 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.4685, allocations: 9.71 MB / 0.6218 GB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.4704, allocations: 234.7 kB / 0.622 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4706, allocations: 47.98 kB / 0.6221 GB, free: 15.38 MB / 442.7 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.000607/0.4712, allocations: 291.3 kB / 0.6223 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.4714, allocations: 126.4 kB / 0.6224 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/0.4857, allocations: 5.099 MB / 0.6274 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.4857, allocations: 12 kB / 0.6274 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4857, allocations: 0 / 0.6274 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.4857, allocations: 7.969 kB / 0.6274 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/0.5021, allocations: 6.886 MB / 0.6342 GB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/0.5022, allocations: 7.938 kB / 0.6342 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000735/0.5029, allocations: 107.9 kB / 0.6343 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006377/0.5093, allocations: 2.144 MB / 0.6364 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.5095, allocations: 19.98 kB / 0.6364 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/0.5308, allocations: 10.28 MB / 0.6464 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5308, allocations: 0 / 0.6464 GB, free: 5.934 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.5472, allocations: 6.115 MB / 0.6524 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.5478, allocations: 231.2 kB / 0.6526 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.548, allocations: 16 kB / 0.6526 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.5492, allocations: 151.9 kB / 0.6528 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007166/0.5499, allocations: 208.6 kB / 0.653 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.332e-05/0.55, allocations: 32.05 kB / 0.653 GB, free: 15.14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.5511, allocations: 0.6993 MB / 0.6537 GB, free: 14.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5511, allocations: 0 / 0.6537 GB, free: 14.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00143/0.5525, allocations: 479.5 kB / 0.6542 GB, free: 13.96 MB / 474.7 MB 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.0003174/0.5529, allocations: 139.2 kB / 0.6543 GB, free: 13.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007008/0.5599, allocations: 2.919 MB / 0.6571 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.5599, allocations: 4.188 kB / 0.6571 GB, free: 10.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004721/0.5646, allocations: 1.984 MB / 0.6591 GB, free: 8.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.5655, allocations: 116.2 kB / 0.6592 GB, free: 8.727 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.5699, allocations: 2.934 MB / 0.6621 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.5707, allocations: 1.124 MB / 0.6632 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003073/0.571, allocations: 79.41 kB / 0.6632 GB, free: 4.52 MB / 474.7 MB Notification: Performance of SimCode: time 2.485e-06/0.571, allocations: 0 / 0.6632 GB, free: 4.52 MB / 474.7 MB Notification: Performance of Templates: time 0.3207/0.8917, allocations: 23.96 MB / 0.6866 GB, free: 115.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)