Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_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.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 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.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007961/0.0007963, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.469/1.469, allocations: 223.3 MB / 239.4 MB, free: 5.52 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.00146/0.00146, allocations: 180.5 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5387/0.5387, allocations: 91.92 MB / 433.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004552, allocations: 12 kB / 0.5048 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4116, allocations: 72.46 MB / 0.5755 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.005272/0.4169, allocations: 6.428 MB / 0.5818 GB, free: 32.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.4213, allocations: 2.078 MB / 0.5838 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009809/0.4223, allocations: 11.09 kB / 0.5838 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.423, allocations: 197.7 kB / 0.584 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.4251, allocations: 0.6644 MB / 0.5847 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.4265, allocations: 0.6387 MB / 0.5853 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.4281, allocations: 1.516 MB / 0.5868 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004607/0.4286, allocations: 301.7 kB / 0.5871 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008252/0.4294, allocations: 0.5683 MB / 0.5876 GB, free: 29.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.4301, allocations: 0.7216 MB / 0.5883 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.4303, allocations: 57.75 kB / 0.5884 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.4308, allocations: 189 kB / 0.5886 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.431, allocations: 257.5 kB / 0.5888 GB, free: 28.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.4314, allocations: 0.6166 MB / 0.5894 GB, free: 28.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.4328, allocations: 1.579 MB / 0.591 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4328, allocations: 0 / 0.591 GB, free: 27.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4328, allocations: 1.031 kB / 0.591 GB, free: 27.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.4328, allocations: 0 / 0.591 GB, free: 27.55 MB / 430.1 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.00869/0.4415, allocations: 2.564 MB / 0.5935 GB, free: 26.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.4416, allocations: 10.88 kB / 0.5935 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.4469, allocations: 0.7824 MB / 0.5942 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.4485, allocations: 0.8841 MB / 0.5951 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.4487, allocations: 233.9 kB / 0.5953 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.4489, allocations: 86.97 kB / 0.5954 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.4514, allocations: 1.25 MB / 0.5966 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.4515, allocations: 1.375 kB / 0.5966 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.4516, allocations: 34.53 kB / 0.5967 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.4516, allocations: 18.59 kB / 0.5967 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002567/0.4542, allocations: 1.174 MB / 0.5978 GB, free: 24.59 MB / 430.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.006913/0.4611, allocations: 3.785 MB / 0.6015 GB, free: 22.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.4636, allocations: 1.589 MB / 0.6031 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.4653, allocations: 0.8669 MB / 0.6039 GB, free: 21.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4655, allocations: 16.09 kB / 0.6039 GB, free: 21.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4655, allocations: 52.73 kB / 0.604 GB, free: 21.11 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 3.607e-06/0.4655, allocations: 0 / 0.604 GB, free: 21.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02882/0.4943, allocations: 7.749 MB / 0.6116 GB, free: 19.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.4944, allocations: 145 kB / 0.6117 GB, free: 19.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.4964, allocations: 1.029 MB / 0.6127 GB, free: 19.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.4967, allocations: 41.64 kB / 0.6127 GB, free: 19.01 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003542/0.4971, allocations: 0.501 MB / 0.6132 GB, free: 18.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004008/0.4975, allocations: 359.6 kB / 0.6136 GB, free: 18.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.4977, allocations: 120.9 kB / 0.6137 GB, free: 18.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4978, allocations: 356.7 kB / 0.614 GB, free: 17.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/0.4997, allocations: 0.8313 MB / 0.6148 GB, free: 17.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/0.5016, allocations: 0.9691 MB / 0.6158 GB, free: 17.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02293/0.5245, allocations: 5.896 MB / 0.6215 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.108e-06/0.5246, allocations: 0 / 0.6215 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01477/0.5394, allocations: 5.385 MB / 0.6268 GB, free: 8.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.5395, allocations: 217.5 kB / 0.627 GB, free: 8.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5396, allocations: 4 kB / 0.627 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007133/0.5467, allocations: 2.166 MB / 0.6291 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.5482, allocations: 231.7 kB / 0.6294 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/0.5705, allocations: 9.73 MB / 0.6389 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.5728, allocations: 222.8 kB / 0.6391 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.573, allocations: 47.92 kB / 0.6391 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.573, allocations: 4 kB / 0.6391 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01655/0.5896, allocations: 5.213 MB / 0.6442 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.373e-05/0.5896, allocations: 4 kB / 0.6442 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007605/0.5972, allocations: 2.183 MB / 0.6463 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.5986, allocations: 219.7 kB / 0.6465 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02256/0.6212, allocations: 9.68 MB / 0.656 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.6232, allocations: 203 kB / 0.6562 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6233, allocations: 47.98 kB / 0.6562 GB, free: 10.11 MB / 462.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: 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.0007499/0.624, allocations: 370.1 kB / 0.6566 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/0.6243, allocations: 122.5 kB / 0.6567 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/0.6392, allocations: 4.965 MB / 0.6616 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.6392, allocations: 19.92 kB / 0.6616 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6393, allocations: 0 / 0.6616 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.752e-05/0.6393, allocations: 7.984 kB / 0.6616 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01767/0.657, allocations: 6.788 MB / 0.6682 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.657, allocations: 0 / 0.6682 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000941/0.658, allocations: 131.8 kB / 0.6683 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006621/0.6646, allocations: 2.049 MB / 0.6703 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/0.6649, allocations: 23.98 kB / 0.6704 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01923/0.6841, allocations: 8.221 MB / 0.6784 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6842, allocations: 0 / 0.6784 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01721/0.7014, allocations: 5.978 MB / 0.6842 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000577/0.702, allocations: 219.3 kB / 0.6844 GB, free: 12.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.7022, allocations: 20 kB / 0.6845 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7035, allocations: 147.9 kB / 0.6846 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000639/0.7042, allocations: 196.7 kB / 0.6848 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.7043, allocations: 20 kB / 0.6848 GB, free: 12.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001061/0.7053, allocations: 0.7069 MB / 0.6855 GB, free: 11.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7053, allocations: 4 kB / 0.6855 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002142/0.7075, allocations: 0.7531 MB / 0.6862 GB, free: 11.02 MB / 494.1 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.0003024/0.7078, allocations: 143.5 kB / 0.6864 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01356/0.7214, allocations: 5.05 MB / 0.6913 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7214, allocations: 0 / 0.6913 GB, free: 5.746 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005318/0.7268, allocations: 1.841 MB / 0.6931 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.728, allocations: 118.4 kB / 0.6932 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.7325, allocations: 2.928 MB / 0.6961 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/0.7333, allocations: 1.141 MB / 0.6972 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006588/0.7339, allocations: 139.5 kB / 0.6973 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.7342, allocations: 71.36 kB / 0.6974 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/0.7342, allocations: 0 / 0.6974 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.04996/0.7842, allocations: 30.17 MB / 0.7269 GB, free: 1.285 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)