Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.313/1.313, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001137/0.001137, allocations: 181 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4694/0.4694, allocations: 78.54 MB / 419.8 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 12 kB / 499.8 MB, free: 6.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 69.36 MB / 0.5558 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test): time 0.2516/0.3926, allocations: 5.713 MB / 0.5614 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004226/0.3969, allocations: 2.009 MB / 0.5633 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.3979, allocations: 14.69 kB / 0.5633 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007715/0.3987, allocations: 175.1 kB / 0.5635 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002141/0.4009, allocations: 0.6778 MB / 0.5642 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.4023, allocations: 0.5682 MB / 0.5647 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.4038, allocations: 0.9982 MB / 0.5657 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003998/0.4042, allocations: 272.2 kB / 0.566 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.4049, allocations: 0.5547 MB / 0.5665 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.4057, allocations: 0.6852 MB / 0.5672 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.4058, allocations: 59.72 kB / 0.5672 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000433/0.4062, allocations: 171.8 kB / 0.5674 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.4065, allocations: 254.6 kB / 0.5676 GB, free: 36.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.4066, allocations: 227 kB / 0.5678 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009317/0.4076, allocations: 1.184 MB / 0.569 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4076, allocations: 0 / 0.569 GB, free: 35.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4076, allocations: 0.5312 kB / 0.569 GB, free: 35.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.4076, allocations: 1.688 kB / 0.569 GB, free: 35.93 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.008252/0.4159, allocations: 2.584 MB / 0.5715 GB, free: 34.99 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4159, allocations: 11.38 kB / 0.5715 GB, free: 34.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/0.4163, allocations: 134.4 kB / 0.5717 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.4214, allocations: 0.7876 MB / 0.5724 GB, free: 34.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.4231, allocations: 0.8392 MB / 0.5733 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.4234, allocations: 233.1 kB / 0.5735 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4236, allocations: 92.53 kB / 0.5736 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.4258, allocations: 1.241 MB / 0.5748 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.4258, allocations: 0 / 0.5748 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.4259, allocations: 29.81 kB / 0.5748 GB, free: 33.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.426, allocations: 23.58 kB / 0.5748 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.4281, allocations: 1.166 MB / 0.576 GB, free: 33.45 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.006419/0.4346, allocations: 3.887 MB / 0.5798 GB, free: 31.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.4368, allocations: 1.586 MB / 0.5813 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.4369, allocations: 13.56 kB / 0.5813 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.437, allocations: 45.12 kB / 0.5814 GB, free: 30.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=99): time 2.966e-06/0.437, allocations: 1.688 kB / 0.5814 GB, free: 30.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.02575/0.4627, allocations: 7.724 MB / 0.5889 GB, free: 28.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.4628, allocations: 146.8 kB / 0.5891 GB, free: 28.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/0.4646, allocations: 1.006 MB / 0.59 GB, free: 28.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003027/0.4649, allocations: 42.23 kB / 0.5901 GB, free: 28.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.4653, allocations: 0.5032 MB / 0.5906 GB, free: 27.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.4657, allocations: 361.2 kB / 0.5909 GB, free: 27.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.4658, allocations: 29.75 kB / 0.5909 GB, free: 27.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.4659, allocations: 363.7 kB / 0.5913 GB, free: 27.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.4677, allocations: 0.8182 MB / 0.5921 GB, free: 26.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001945/0.4696, allocations: 0.9587 MB / 0.593 GB, free: 26.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.4717, allocations: 0.9357 MB / 0.5939 GB, free: 25.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.4717, allocations: 1 kB / 0.5939 GB, free: 25.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01657/0.4883, allocations: 5.335 MB / 0.5991 GB, free: 24.69 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.4886, allocations: 0.9317 MB / 0.6001 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.4886, allocations: 4.625 kB / 0.6001 GB, free: 23.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007962/0.4966, allocations: 2.192 MB / 0.6022 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.498, allocations: 235.2 kB / 0.6024 GB, free: 23.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/0.5237, allocations: 11.34 MB / 0.6135 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.5258, allocations: 225.3 kB / 0.6137 GB, free: 17.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.526, allocations: 43.44 kB / 0.6138 GB, free: 17.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5261, allocations: 4 kB / 0.6138 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01426/0.5403, allocations: 5.185 MB / 0.6188 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.5404, allocations: 4 kB / 0.6188 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006795/0.5472, allocations: 2.188 MB / 0.621 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.5485, allocations: 227.7 kB / 0.6212 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02153/0.57, allocations: 11.32 MB / 0.6322 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.572, allocations: 203 kB / 0.6324 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/0.5722, allocations: 47.98 kB / 0.6325 GB, free: 14.67 MB / 446.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.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.0007502/0.573, allocations: 372.1 kB / 0.6328 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/0.5733, allocations: 127.3 kB / 0.633 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/0.5877, allocations: 4.95 MB / 0.6378 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.5877, allocations: 12 kB / 0.6378 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5878, allocations: 0 / 0.6378 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/0.5878, allocations: 7.969 kB / 0.6378 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.6051, allocations: 6.838 MB / 0.6445 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.6051, allocations: 2.922 kB / 0.6445 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.606, allocations: 129.5 kB / 0.6446 GB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006403/0.6124, allocations: 2.043 MB / 0.6466 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002628/0.6127, allocations: 31.92 kB / 0.6466 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0194/0.6321, allocations: 8.65 MB / 0.6551 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.6322, allocations: 7.938 kB / 0.6551 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01642/0.6486, allocations: 5.972 MB / 0.6609 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.6491, allocations: 227.2 kB / 0.6611 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.6494, allocations: 20 kB / 0.6612 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6507, allocations: 147.9 kB / 0.6613 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005827/0.6513, allocations: 192.7 kB / 0.6615 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.6514, allocations: 28.86 kB / 0.6615 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.6525, allocations: 0.6874 MB / 0.6622 GB, free: 15.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6525, allocations: 4 kB / 0.6622 GB, free: 15.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002417/0.6549, allocations: 0.7568 MB / 0.6629 GB, free: 15.1 MB / 478.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 (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.01688/0.6718, allocations: 6.638 MB / 0.6694 GB, free: 8.414 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01364/0.6855, allocations: 5.247 MB / 0.6745 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/0.6856, allocations: 3.938 kB / 0.6745 GB, free: 3.074 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005224/0.6908, allocations: 1.837 MB / 0.6763 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6918, allocations: 93.33 kB / 0.6764 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/0.6977, allocations: 4.72 MB / 0.681 GB, free: 12.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.6984, allocations: 1.164 MB / 0.6822 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.6991, allocations: 135.6 kB / 0.6823 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/0.6998, allocations: 479.3 kB / 0.6828 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6998, allocations: 0 / 0.6828 GB, free: 10.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09221/0.792, allocations: 39.05 MB / 0.7209 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.7922, allocations: 211.2 kB / 0.7211 GB, free: 3.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/3.564, allocations: 4 kB / 0.7211 GB, free: 3.59 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1) Environment - environmentSimulation: