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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008837/0.0008837, allocations: 90.19 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4701/0.4701, allocations: 78.94 MB / 410.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.142e-05/2.156e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 69.52 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.5324, allocations: 100.3 MB / 0.6405 GB, free: 13.67 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5327, allocations: 85.5 kB / 0.6406 GB, free: 13.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07826/0.611, allocations: 28.59 MB / 0.6685 GB, free: 1.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6111, allocations: 0 / 0.6685 GB, free: 1.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.827e-05/0.6112, allocations: 27.94 kB / 0.6685 GB, free: 1.043 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.005918/0.6171, allocations: 1.864 MB / 0.6703 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/0.6172, allocations: 8.031 kB / 0.6703 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003711/0.6209, allocations: 0.5641 MB / 0.6709 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.6232, allocations: 0.8225 MB / 0.6717 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002702/0.6235, allocations: 198.5 kB / 0.6719 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.6238, allocations: 51.86 kB / 0.6719 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001908/0.6257, allocations: 0.8651 MB / 0.6728 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6276, allocations: 0.8962 MB / 0.6737 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.6276, allocations: 0 / 0.6737 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.6277, allocations: 3.984 kB / 0.6737 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.6277, allocations: 20 kB / 0.6737 GB, free: 11.6 MB / 490.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.007248/0.635, allocations: 3.672 MB / 0.6773 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.6367, allocations: 1.294 MB / 0.6785 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008553/0.6375, allocations: 0.5983 MB / 0.6791 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.6377, allocations: 16.78 kB / 0.6791 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.6377, allocations: 47.33 kB / 0.6792 GB, free: 5.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.146e-06/0.6377, allocations: 2.531 kB / 0.6792 GB, free: 5.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01237/0.6501, allocations: 4.091 MB / 0.6832 GB, free: 1.594 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.6502, allocations: 137.3 kB / 0.6833 GB, free: 1.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6515, allocations: 0.7901 MB / 0.6841 GB, free: 0.625 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.6517, allocations: 29.7 kB / 0.6841 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.6521, allocations: 0.5049 MB / 0.6846 GB, free: 80 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003981/0.6525, allocations: 346.8 kB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.6526, allocations: 0 / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6527, allocations: 341.9 kB / 0.6852 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007677/0.6535, allocations: 482.5 kB / 0.6857 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008519/0.6544, allocations: 0.5831 MB / 0.6863 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/0.6552, allocations: 0.5152 MB / 0.6868 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6552, allocations: 0 / 0.6868 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0127/0.6679, allocations: 4.271 MB / 0.691 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003841/0.6683, allocations: 0.934 MB / 0.6919 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6684, allocations: 0 / 0.6919 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006006/0.6744, allocations: 1.765 MB / 0.6936 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.6753, allocations: 163.8 kB / 0.6937 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/0.691, allocations: 8.357 MB / 0.7019 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.6927, allocations: 183.1 kB / 0.7021 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.6929, allocations: 32 kB / 0.7021 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.693, allocations: 4 kB / 0.7021 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01249/0.7055, allocations: 4.114 MB / 0.7061 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.7055, allocations: 4 kB / 0.7061 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/0.7114, allocations: 1.758 MB / 0.7079 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.7123, allocations: 155.8 kB / 0.708 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.7276, allocations: 8.363 MB / 0.7162 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.7293, allocations: 160.7 kB / 0.7163 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.7295, allocations: 39.98 kB / 0.7164 GB, free: 14.9 MB / 0.5261 GB 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.0005648/0.7301, allocations: 163.3 kB / 0.7165 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01362/0.7438, allocations: 4.097 MB / 0.7205 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.7443, allocations: 125.9 kB / 0.7206 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.7572, allocations: 4.215 MB / 0.7248 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.7572, allocations: 12 kB / 0.7248 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7572, allocations: 4 kB / 0.7248 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.7573, allocations: 3.984 kB / 0.7248 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.7726, allocations: 5.95 MB / 0.7306 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.7727, allocations: 4 kB / 0.7306 GB, free: 184 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/0.7735, allocations: 115.9 kB / 0.7307 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005335/0.7789, allocations: 1.664 MB / 0.7323 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/0.7793, allocations: 8 kB / 0.7323 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.7924, allocations: 6.218 MB / 0.7384 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7925, allocations: 0 / 0.7384 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.8069, allocations: 5.006 MB / 0.7433 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004826/0.8074, allocations: 223.3 kB / 0.7435 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.8078, allocations: 0 / 0.7435 GB, free: 2.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.8092, allocations: 131.9 kB / 0.7436 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006053/0.8098, allocations: 201 kB / 0.7438 GB, free: 2.461 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.81, allocations: 23.12 kB / 0.7438 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000906/0.8109, allocations: 0.6053 MB / 0.7444 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8109, allocations: 0 / 0.7444 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00209/0.813, allocations: 0.6474 MB / 0.7451 GB, free: 1.18 MB / 0.5417 GB 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.01416/0.8271, allocations: 5.669 MB / 0.7506 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.8376, allocations: 4.053 MB / 0.7546 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8377, allocations: 0 / 0.7546 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/0.842, allocations: 1.542 MB / 0.7561 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008452/0.8429, allocations: 84.39 kB / 0.7561 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.8471, allocations: 2.011 MB / 0.7581 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000761/0.8479, allocations: 1.17 MB / 0.7593 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008214/0.8488, allocations: 179.3 kB / 0.7594 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/0.8493, allocations: 451.3 kB / 0.7599 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.8493, allocations: 0 / 0.7599 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/1.155, allocations: 38.07 MB / 0.797 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/1.155, allocations: 132.8 kB / 0.7972 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.264, allocations: 0 / 0.7972 GB, free: 143.2 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)