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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_release_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.001491/0.001491, 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 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0009007/0.0009007, allocations: 91.38 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 78.12 MB / 409.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.726e-05/2.707e-05, allocations: 3.938 kB / 485.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1874, allocations: 69.36 MB / 0.5414 GB, free: 6.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4749/0.6623, allocations: 99.72 MB / 0.6388 GB, free: 15.83 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6627, allocations: 83.95 kB / 0.6389 GB, free: 15.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07846/0.7411, allocations: 28.3 MB / 0.6665 GB, free: 3.516 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7412, allocations: 0 / 0.6665 GB, free: 3.516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.72e-05/0.7413, allocations: 20 kB / 0.6665 GB, free: 3.496 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.005152/0.7465, allocations: 1.873 MB / 0.6684 GB, free: 1.566 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.7465, allocations: 8.031 kB / 0.6684 GB, free: 1.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.75, allocations: 0.5641 MB / 0.6689 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.7521, allocations: 0.8186 MB / 0.6697 GB, free: 124 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.7524, allocations: 202.5 kB / 0.6699 GB, free: 15.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.7525, allocations: 59.84 kB / 0.67 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001634/0.7542, allocations: 0.861 MB / 0.6708 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.7557, allocations: 0.8923 MB / 0.6717 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.7558, allocations: 0 / 0.6717 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.621e-05/0.7559, allocations: 0.75 kB / 0.6717 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.7559, allocations: 20 kB / 0.6717 GB, free: 14.05 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.007069/0.763, allocations: 3.676 MB / 0.6753 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.7647, allocations: 1.29 MB / 0.6766 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008991/0.7656, allocations: 0.6022 MB / 0.6771 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.7657, allocations: 12.78 kB / 0.6772 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.7658, allocations: 47.34 kB / 0.6772 GB, free: 8.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 4.168e-06/0.7658, allocations: 0 / 0.6772 GB, free: 8.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01276/0.7786, allocations: 4.096 MB / 0.6812 GB, free: 4.039 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.7787, allocations: 141.3 kB / 0.6813 GB, free: 3.871 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7802, allocations: 0.7823 MB / 0.6821 GB, free: 3.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000345/0.7806, allocations: 29.7 kB / 0.6821 GB, free: 3.039 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.781, allocations: 0.5087 MB / 0.6826 GB, free: 2.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004965/0.7816, allocations: 346.8 kB / 0.683 GB, free: 2.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.7816, allocations: 0 / 0.683 GB, free: 2.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7818, allocations: 345.9 kB / 0.6833 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008166/0.7826, allocations: 474.6 kB / 0.6837 GB, free: 1.371 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008538/0.7835, allocations: 0.5831 MB / 0.6843 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.7843, allocations: 0.5153 MB / 0.6848 GB, free: 248 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7843, allocations: 0 / 0.6848 GB, free: 248 kB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01288/0.7972, allocations: 4.278 MB / 0.689 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005959/0.7979, allocations: 0.934 MB / 0.6899 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.7979, allocations: 0 / 0.6899 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006554/0.8045, allocations: 1.763 MB / 0.6916 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.8056, allocations: 163.8 kB / 0.6918 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01689/0.8225, allocations: 8.352 MB / 0.6999 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.8243, allocations: 179.1 kB / 0.7001 GB, free: 248 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.975e-05/0.8245, allocations: 36.84 kB / 0.7001 GB, free: 212 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.8245, allocations: 4 kB / 0.7001 GB, free: 208 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01274/0.8372, allocations: 4.114 MB / 0.7042 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/0.8374, allocations: 4 kB / 0.7042 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006421/0.8438, allocations: 1.758 MB / 0.7059 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.8449, allocations: 156.9 kB / 0.706 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.8608, allocations: 8.357 MB / 0.7142 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.8627, allocations: 171.1 kB / 0.7144 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.8628, allocations: 35.98 kB / 0.7144 GB, free: 1.355 MB / 0.5105 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.0004623/0.8633, allocations: 163.8 kB / 0.7146 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01245/0.8758, allocations: 4.102 MB / 0.7186 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/0.8767, allocations: 122.5 kB / 0.7187 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.8893, allocations: 4.21 MB / 0.7228 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/0.8894, allocations: 12 kB / 0.7228 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8894, allocations: 0 / 0.7228 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-05/0.8894, allocations: 14.48 kB / 0.7228 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01536/0.9048, allocations: 5.953 MB / 0.7286 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.9049, allocations: 4 kB / 0.7286 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.9059, allocations: 119.9 kB / 0.7287 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005233/0.9111, allocations: 1.66 MB / 0.7304 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.9114, allocations: 12 kB / 0.7304 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/0.9239, allocations: 6.2 MB / 0.7364 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.924, allocations: 0 / 0.7364 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01379/0.9378, allocations: 5.014 MB / 0.7413 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.9383, allocations: 227.3 kB / 0.7415 GB, free: 5.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/0.9386, allocations: 3.938 kB / 0.7415 GB, free: 5.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.9398, allocations: 127.9 kB / 0.7417 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005601/0.9404, allocations: 197 kB / 0.7419 GB, free: 4.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/0.9404, allocations: 25.81 kB / 0.7419 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00079/0.9412, allocations: 0.6013 MB / 0.7425 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9412, allocations: 0 / 0.7425 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001999/0.9432, allocations: 0.6513 MB / 0.7431 GB, free: 3.629 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.01391/0.9572, allocations: 5.661 MB / 0.7486 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.9673, allocations: 4.063 MB / 0.7526 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.9674, allocations: 3.562 kB / 0.7526 GB, free: 9.773 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004325/0.9717, allocations: 1.546 MB / 0.7541 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.9727, allocations: 80.39 kB / 0.7542 GB, free: 8.125 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.977, allocations: 2.012 MB / 0.7562 GB, free: 6.078 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.9778, allocations: 1.162 MB / 0.7573 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008041/0.9787, allocations: 188.3 kB / 0.7575 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.9792, allocations: 443.3 kB / 0.7579 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of SimCode: time 7.81e-07/0.9792, allocations: 0 / 0.7579 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.442/1.421, allocations: 38.06 MB / 0.7951 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/1.421, allocations: 136.4 kB / 0.7952 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.673, allocations: 0.9688 kB / 0.7952 GB, free: 144.8 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)