Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 168.2 kB / 16.1 MB, free: 5.691 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.329/1.329, allocations: 223.3 MB / 240.1 MB, free: 11.7 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.0009638/0.0009637, allocations: 102 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4578/0.4578, allocations: 78.61 MB / 421 MB, free: 9.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 15.94 kB / 0.4894 GB, free: 9.27 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3129, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005047/0.318, allocations: 6.401 MB / 0.5634 GB, free: 12.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.322, allocations: 2.071 MB / 0.5654 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.3234, allocations: 15.94 kB / 0.5654 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000965/0.3244, allocations: 190.8 kB / 0.5656 GB, free: 10.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.3268, allocations: 0.6656 MB / 0.5663 GB, free: 9.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3285, allocations: 0.6451 MB / 0.5669 GB, free: 8.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001927/0.3304, allocations: 1.518 MB / 0.5684 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.331, allocations: 295.3 kB / 0.5687 GB, free: 6.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009511/0.332, allocations: 0.552 MB / 0.5692 GB, free: 6.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.333, allocations: 0.7348 MB / 0.5699 GB, free: 5.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.3333, allocations: 56 kB / 0.57 GB, free: 5.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005176/0.3338, allocations: 187.9 kB / 0.5701 GB, free: 5.441 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.3341, allocations: 262.6 kB / 0.5704 GB, free: 5.184 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.3345, allocations: 0.615 MB / 0.571 GB, free: 4.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008887/0.3354, allocations: 1.243 MB / 0.5722 GB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3354, allocations: 0 / 0.5722 GB, free: 3.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3354, allocations: 0 / 0.5722 GB, free: 3.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.3354, allocations: 0 / 0.5722 GB, free: 3.312 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.007151/0.3426, allocations: 2.568 MB / 0.5747 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3426, allocations: 8.031 kB / 0.5747 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/0.3471, allocations: 0.7827 MB / 0.5755 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.3487, allocations: 0.882 MB / 0.5763 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.3489, allocations: 234.5 kB / 0.5766 GB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.3491, allocations: 91.84 kB / 0.5767 GB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.3515, allocations: 1.255 MB / 0.5779 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3516, allocations: 0 / 0.5779 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.281e-05/0.3516, allocations: 32 kB / 0.5779 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.3517, allocations: 20 kB / 0.5779 GB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.354, allocations: 1.171 MB / 0.5791 GB, free: 12.11 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.006705/0.3608, allocations: 3.792 MB / 0.5828 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.3633, allocations: 1.597 MB / 0.5843 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.3649, allocations: 0.8564 MB / 0.5852 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.365, allocations: 13 kB / 0.5852 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.3651, allocations: 51.5 kB / 0.5852 GB, free: 5.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=99): time 3.617e-06/0.3651, allocations: 3.938 kB / 0.5852 GB, free: 5.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=99): time 0.02404/0.3891, allocations: 7.76 MB / 0.5928 GB, free: 13.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3893, allocations: 141.5 kB / 0.593 GB, free: 13.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.391, allocations: 1.026 MB / 0.594 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.3912, allocations: 45.7 kB / 0.594 GB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.3916, allocations: 0.4968 MB / 0.5945 GB, free: 11.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.3921, allocations: 362.8 kB / 0.5948 GB, free: 11.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.3922, allocations: 117.6 kB / 0.5949 GB, free: 11.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3924, allocations: 357.9 kB / 0.5953 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/0.3941, allocations: 0.8303 MB / 0.5961 GB, free: 10.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.3959, allocations: 0.9643 MB / 0.597 GB, free: 9.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02062/0.4166, allocations: 5.904 MB / 0.6028 GB, free: 3.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.4166, allocations: 4 kB / 0.6028 GB, free: 3.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01461/0.4313, allocations: 5.374 MB / 0.6081 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.4315, allocations: 213.6 kB / 0.6083 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4315, allocations: 7.984 kB / 0.6083 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/0.4384, allocations: 2.174 MB / 0.6104 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.4397, allocations: 239.6 kB / 0.6106 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/0.4608, allocations: 9.721 MB / 0.6201 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.4626, allocations: 226.8 kB / 0.6203 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4627, allocations: 43.98 kB / 0.6204 GB, free: 1.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.4627, allocations: 7.938 kB / 0.6204 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01382/0.4766, allocations: 5.213 MB / 0.6255 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4766, allocations: 3.938 kB / 0.6255 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/0.4833, allocations: 2.186 MB / 0.6276 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4845, allocations: 223.7 kB / 0.6278 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.5053, allocations: 9.683 MB / 0.6373 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.5069, allocations: 207 kB / 0.6375 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5071, allocations: 43.98 kB / 0.6375 GB, free: 15.36 MB / 458.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * 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.0006395/0.5077, allocations: 374.4 kB / 0.6379 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.5079, allocations: 122.5 kB / 0.638 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.5213, allocations: 4.961 MB / 0.6428 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5214, allocations: 15.94 kB / 0.6429 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5214, allocations: 3.984 kB / 0.6429 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.5214, allocations: 3.984 kB / 0.6429 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.5373, allocations: 6.788 MB / 0.6495 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.5374, allocations: 4 kB / 0.6495 GB, free: 2.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.5382, allocations: 123.8 kB / 0.6496 GB, free: 2.805 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005867/0.5441, allocations: 2.054 MB / 0.6516 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/0.5443, allocations: 23.92 kB / 0.6516 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.562, allocations: 8.214 MB / 0.6597 GB, free: 8.359 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5621, allocations: 3.938 kB / 0.6597 GB, free: 8.355 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.5776, allocations: 5.97 MB / 0.6655 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.5782, allocations: 223.2 kB / 0.6657 GB, free: 2.117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.5784, allocations: 20 kB / 0.6657 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5795, allocations: 147.9 kB / 0.6659 GB, free: 1.953 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/0.5803, allocations: 200.5 kB / 0.6661 GB, free: 1.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/0.5803, allocations: 24 kB / 0.6661 GB, free: 1.734 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.5815, allocations: 0.703 MB / 0.6668 GB, free: 1.023 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5815, allocations: 0 / 0.6668 GB, free: 1.023 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002117/0.5837, allocations: 0.7647 MB / 0.6675 GB, free: 264 kB / 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.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002942/0.584, allocations: 136.2 kB / 0.6676 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01237/0.5963, allocations: 5.049 MB / 0.6726 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5964, allocations: 0 / 0.6726 GB, free: 11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004783/0.6012, allocations: 1.839 MB / 0.6744 GB, free: 9.129 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.6023, allocations: 112.4 kB / 0.6745 GB, free: 9.016 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.6069, allocations: 2.963 MB / 0.6774 GB, free: 6.012 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.6076, allocations: 1.137 MB / 0.6785 GB, free: 4.848 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.608, allocations: 79.42 kB / 0.6786 GB, free: 4.773 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/0.608, allocations: 0 / 0.6786 GB, free: 4.773 MB / 490.7 MB Notification: Performance of Templates: time 0.2684/0.8764, allocations: 22.51 MB / 0.7005 GB, free: 110.4 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)