Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_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/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001175, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.3 MB / 213.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008685, allocations: 78.72 kB / 261.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1048/0.1048, allocations: 12.2 MB / 321.5 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5378/0.5378, allocations: 78.04 MB / 450.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.99e-05, allocations: 0 / 0.5142 GB, free: 42.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1537, allocations: 69.25 MB / 0.5819 GB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.2998, allocations: 101.3 MB / 0.6808 GB, free: 11.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.3002, allocations: 87.94 kB / 0.6808 GB, free: 11.76 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3857/0.6859, allocations: 27.51 MB / 0.7077 GB, free: 98.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6859, allocations: 3.938 kB / 0.7077 GB, free: 98.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.117e-05/0.686, allocations: 26.69 kB / 0.7077 GB, free: 98.59 MB / 474.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.004577/0.6906, allocations: 1.867 MB / 0.7096 GB, free: 97.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6906, allocations: 7.344 kB / 0.7096 GB, free: 97.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.6938, allocations: 0.5579 MB / 0.7101 GB, free: 97.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.6956, allocations: 0.8337 MB / 0.7109 GB, free: 97.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.6959, allocations: 200.5 kB / 0.7111 GB, free: 97.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.6961, allocations: 47.56 kB / 0.7112 GB, free: 97.16 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001534/0.6977, allocations: 0.8648 MB / 0.712 GB, free: 97.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.6991, allocations: 0.8996 MB / 0.7129 GB, free: 96.93 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.6992, allocations: 3.938 kB / 0.7129 GB, free: 96.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.6993, allocations: 0 / 0.7129 GB, free: 96.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.6993, allocations: 19.19 kB / 0.7129 GB, free: 96.93 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006579/0.7059, allocations: 3.671 MB / 0.7165 GB, free: 94.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.7072, allocations: 1.291 MB / 0.7178 GB, free: 93.21 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.7079, allocations: 0.6101 MB / 0.7183 GB, free: 92.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.7081, allocations: 19.42 kB / 0.7184 GB, free: 92.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.7081, allocations: 43.09 kB / 0.7184 GB, free: 92.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 3.126e-06/0.7081, allocations: 0 / 0.7184 GB, free: 92.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=99): time 0.01089/0.719, allocations: 4.099 MB / 0.7224 GB, free: 89.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.7191, allocations: 137.3 kB / 0.7225 GB, free: 89.48 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.7201, allocations: 0.7866 MB / 0.7233 GB, free: 88.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.7203, allocations: 29.7 kB / 0.7233 GB, free: 88.65 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.7206, allocations: 0.5088 MB / 0.7238 GB, free: 88.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.7209, allocations: 342.8 kB / 0.7242 GB, free: 87.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.721, allocations: 0 / 0.7242 GB, free: 87.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.7211, allocations: 345.9 kB / 0.7245 GB, free: 87.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/0.7218, allocations: 482.5 kB / 0.725 GB, free: 86.98 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.7225, allocations: 0.5832 MB / 0.7255 GB, free: 86.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.7232, allocations: 0.5153 MB / 0.726 GB, free: 85.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.7232, allocations: 0 / 0.726 GB, free: 85.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01086/0.7341, allocations: 4.269 MB / 0.7302 GB, free: 81.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.7343, allocations: 0.9528 MB / 0.7311 GB, free: 80.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7343, allocations: 4 kB / 0.7311 GB, free: 80.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/0.7396, allocations: 1.746 MB / 0.7328 GB, free: 78.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/0.7404, allocations: 167.7 kB / 0.733 GB, free: 78.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.7533, allocations: 8.356 MB / 0.7412 GB, free: 70.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.755, allocations: 179.1 kB / 0.7413 GB, free: 69.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.7552, allocations: 35.98 kB / 0.7414 GB, free: 69.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.7552, allocations: 4 kB / 0.7414 GB, free: 69.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/0.7664, allocations: 4.112 MB / 0.7454 GB, free: 65.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.7665, allocations: 4 kB / 0.7454 GB, free: 65.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005464/0.7719, allocations: 1.761 MB / 0.7471 GB, free: 63.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.7728, allocations: 155.8 kB / 0.7473 GB, free: 63.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.7862, allocations: 8.35 MB / 0.7554 GB, free: 55.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.7878, allocations: 175.1 kB / 0.7556 GB, free: 55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/0.788, allocations: 35.98 kB / 0.7556 GB, free: 54.96 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 85 * 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.0003763/0.7883, allocations: 144.1 kB / 0.7557 GB, free: 54.81 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01076/0.7991, allocations: 4.104 MB / 0.7598 GB, free: 50.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.7997, allocations: 134.3 kB / 0.7599 GB, free: 50.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.8109, allocations: 4.215 MB / 0.764 GB, free: 46.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.811, allocations: 8 kB / 0.764 GB, free: 46.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.811, allocations: 4 kB / 0.764 GB, free: 46.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.003e-05/0.811, allocations: 7.969 kB / 0.764 GB, free: 46.31 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.8249, allocations: 5.943 MB / 0.7698 GB, free: 40.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.825, allocations: 0 / 0.7698 GB, free: 40.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008488/0.8258, allocations: 131.8 kB / 0.7699 GB, free: 40.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004701/0.8305, allocations: 1.668 MB / 0.7716 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000218/0.8308, allocations: 8 kB / 0.7716 GB, free: 38.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/0.8419, allocations: 6.206 MB / 0.7776 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.842, allocations: 0 / 0.7776 GB, free: 32.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.8544, allocations: 5.014 MB / 0.7825 GB, free: 27.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.855, allocations: 215.3 kB / 0.7827 GB, free: 26.87 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.8554, allocations: 8 kB / 0.7828 GB, free: 26.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/0.8569, allocations: 127.9 kB / 0.7829 GB, free: 26.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006003/0.8575, allocations: 208.8 kB / 0.7831 GB, free: 26.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.8576, allocations: 24 kB / 0.7831 GB, free: 26.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008645/0.8585, allocations: 0.6015 MB / 0.7837 GB, free: 25.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8585, allocations: 0 / 0.7837 GB, free: 25.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002289/0.8608, allocations: 0.6513 MB / 0.7843 GB, free: 25.25 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 () * 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.01287/0.8737, allocations: 5.664 MB / 0.7899 GB, free: 19.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01211/0.8858, allocations: 4.057 MB / 0.7938 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/0.886, allocations: 0.5625 kB / 0.7938 GB, free: 15.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/0.8909, allocations: 1.552 MB / 0.7953 GB, free: 13.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.8928, allocations: 80.8 kB / 0.7954 GB, free: 13.75 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007354/0.9002, allocations: 2.002 MB / 0.7974 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.9013, allocations: 1.166 MB / 0.7985 GB, free: 10.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001342/0.9026, allocations: 197.7 kB / 0.7987 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006704/0.9033, allocations: 443.3 kB / 0.7991 GB, free: 9.871 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9034, allocations: 4 kB / 0.7991 GB, free: 9.867 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09433/0.9977, allocations: 38.09 MB / 0.8363 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.998, allocations: 132.5 kB / 0.8364 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.768/4.767, allocations: 4 kB / 0.8364 GB, free: 3.598 MB / 0.4948 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)