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.001237/0.001237, allocations: 176.1 kB / 15.78 MB, free: 6.348 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.412/1.412, allocations: 223.3 MB / 239.8 MB, free: 1.738 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008214, allocations: 106.9 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5005/0.5005, allocations: 78.62 MB / 420.7 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 20 kB / 0.4888 GB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4073, allocations: 69.36 MB / 0.5565 GB, free: 38.82 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.006372/0.4137, allocations: 6.001 MB / 0.5624 GB, free: 37.57 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.4183, allocations: 1.971 MB / 0.5643 GB, free: 36.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.4196, allocations: 12.59 kB / 0.5643 GB, free: 36.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008046/0.4204, allocations: 177.8 kB / 0.5645 GB, free: 36.1 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.4225, allocations: 0.6382 MB / 0.5651 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4241, allocations: 0.5714 MB / 0.5657 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.426, allocations: 1.429 MB / 0.5671 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.4265, allocations: 270 kB / 0.5673 GB, free: 34.54 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008629/0.4274, allocations: 0.5501 MB / 0.5679 GB, free: 34.3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.4283, allocations: 0.7083 MB / 0.5686 GB, free: 34 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.4284, allocations: 59.19 kB / 0.5686 GB, free: 34 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.4289, allocations: 185.1 kB / 0.5688 GB, free: 33.96 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.4291, allocations: 251.2 kB / 0.569 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.4293, allocations: 228.7 kB / 0.5692 GB, free: 33.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.4302, allocations: 1.24 MB / 0.5705 GB, free: 33.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4302, allocations: 0 / 0.5705 GB, free: 33.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4302, allocations: 0 / 0.5705 GB, free: 33.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4303, allocations: 4 kB / 0.5705 GB, free: 33.3 MB / 426.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.007762/0.438, allocations: 2.575 MB / 0.573 GB, free: 32.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4381, allocations: 13.66 kB / 0.573 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00541/0.4435, allocations: 0.7906 MB / 0.5738 GB, free: 32.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.4456, allocations: 0.8435 MB / 0.5746 GB, free: 31.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002179/0.4459, allocations: 238.2 kB / 0.5748 GB, free: 31.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.4461, allocations: 83.22 kB / 0.5749 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.4484, allocations: 1.242 MB / 0.5761 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.4485, allocations: 5.25 kB / 0.5761 GB, free: 30.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4486, allocations: 30.72 kB / 0.5761 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.4486, allocations: 22.98 kB / 0.5762 GB, free: 30.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.4508, allocations: 1.167 MB / 0.5773 GB, free: 30.38 MB / 426.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.006196/0.457, allocations: 3.784 MB / 0.581 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.4592, allocations: 1.586 MB / 0.5825 GB, free: 27.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.4607, allocations: 0.8624 MB / 0.5834 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.4608, allocations: 16.33 kB / 0.5834 GB, free: 26.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4608, allocations: 52.69 kB / 0.5835 GB, free: 26.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/0.4608, allocations: 0 / 0.5835 GB, free: 26.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.02589/0.4867, allocations: 7.721 MB / 0.591 GB, free: 25.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.4869, allocations: 139.9 kB / 0.5911 GB, free: 25.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.4886, allocations: 1.014 MB / 0.5921 GB, free: 24.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002635/0.4889, allocations: 46.42 kB / 0.5922 GB, free: 24.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.4892, allocations: 0.4944 MB / 0.5926 GB, free: 24.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.4895, allocations: 365.2 kB / 0.593 GB, free: 24.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.4896, allocations: 25.91 kB / 0.593 GB, free: 24.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4897, allocations: 354.6 kB / 0.5934 GB, free: 23.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.4916, allocations: 0.8224 MB / 0.5942 GB, free: 23.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.4934, allocations: 0.964 MB / 0.5951 GB, free: 23.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.4952, allocations: 0.9321 MB / 0.596 GB, free: 22.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4953, allocations: 9.438 kB / 0.596 GB, free: 22.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01633/0.5116, allocations: 5.341 MB / 0.6012 GB, free: 21.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.5118, allocations: 218.6 kB / 0.6014 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.5118, allocations: 2.094 kB / 0.6014 GB, free: 21.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00789/0.5197, allocations: 2.186 MB / 0.6036 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.521, allocations: 233.9 kB / 0.6038 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/0.5454, allocations: 10.88 MB / 0.6144 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5476, allocations: 229.1 kB / 0.6146 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002651/0.5478, allocations: 44.08 kB / 0.6147 GB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.5479, allocations: 4 kB / 0.6147 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01461/0.5625, allocations: 5.184 MB / 0.6198 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5625, allocations: 4 kB / 0.6198 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006759/0.5693, allocations: 2.187 MB / 0.6219 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5706, allocations: 219.7 kB / 0.6221 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02158/0.5922, allocations: 10.86 MB / 0.6327 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.5942, allocations: 206.9 kB / 0.6329 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.5945, allocations: 47.98 kB / 0.633 GB, free: 11.09 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.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008918/0.5954, allocations: 370.9 kB / 0.6333 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.5958, allocations: 122.5 kB / 0.6334 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.6101, allocations: 4.957 MB / 0.6383 GB, free: 5.613 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.6102, allocations: 12 kB / 0.6383 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6102, allocations: 3.953 kB / 0.6383 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.6102, allocations: 7.969 kB / 0.6383 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.6267, allocations: 6.785 MB / 0.6449 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6268, allocations: 4 kB / 0.6449 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.6275, allocations: 123.8 kB / 0.645 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006152/0.6337, allocations: 2.049 MB / 0.647 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.6339, allocations: 27.95 kB / 0.6471 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.6519, allocations: 8.206 MB / 0.6551 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6519, allocations: 4 kB / 0.6551 GB, free: 4.109 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.6683, allocations: 5.962 MB / 0.6609 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/0.6689, allocations: 223.2 kB / 0.6611 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/0.6693, allocations: 16 kB / 0.6611 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.6708, allocations: 151.9 kB / 0.6613 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006095/0.6714, allocations: 196.6 kB / 0.6615 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.6715, allocations: 31.98 kB / 0.6615 GB, free: 13.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00125/0.6728, allocations: 0.6835 MB / 0.6622 GB, free: 12.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6728, allocations: 4.188 kB / 0.6622 GB, free: 12.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002727/0.6755, allocations: 0.7646 MB / 0.6629 GB, free: 12.03 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.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003109/0.6759, allocations: 139.1 kB / 0.663 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/0.6894, allocations: 5.257 MB / 0.6682 GB, free: 6.535 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.6894, allocations: 0 / 0.6682 GB, free: 6.535 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.6945, allocations: 1.825 MB / 0.67 GB, free: 4.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.6959, allocations: 108.4 kB / 0.6701 GB, free: 4.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005065/0.701, allocations: 2.858 MB / 0.6729 GB, free: 1.684 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000847/0.7019, allocations: 1.137 MB / 0.674 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/0.7023, allocations: 75.42 kB / 0.674 GB, free: 456 kB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.7023, allocations: 0 / 0.674 GB, free: 456 kB / 474.7 MB Notification: Performance of Templates: time 0.0356/0.7379, allocations: 24.9 MB / 0.6984 GB, free: 7.527 MB / 0.4948 GB 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)