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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001503/0.001503, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007898/0.0007899, allocations: 83.7 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06655/0.06655, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3129/0.3129, allocations: 78.03 MB / 456.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.717e-05, allocations: 7.984 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.0979, allocations: 69.34 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3525/0.4504, allocations: 102 MB / 0.6891 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.4507, allocations: 87.31 kB / 0.6892 GB, free: 13.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07499/0.5257, allocations: 27.85 MB / 0.7164 GB, free: 5.801 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5257, allocations: 0 / 0.7164 GB, free: 5.801 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.357e-05/0.5258, allocations: 27.88 kB / 0.7164 GB, free: 5.773 MB / 458.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.004797/0.5306, allocations: 1.867 MB / 0.7182 GB, free: 3.969 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.5306, allocations: 15.98 kB / 0.7182 GB, free: 3.953 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.5338, allocations: 0.5667 MB / 0.7188 GB, free: 3.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.5354, allocations: 0.8245 MB / 0.7196 GB, free: 2.727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.5356, allocations: 231.5 kB / 0.7198 GB, free: 2.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.5357, allocations: 77.19 kB / 0.7199 GB, free: 2.449 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5374, allocations: 1.008 MB / 0.7209 GB, free: 1.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.5374, allocations: 0 / 0.7209 GB, free: 1.785 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.5375, allocations: 37.62 kB / 0.7209 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.5376, allocations: 16 kB / 0.7209 GB, free: 1.758 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.5391, allocations: 0.9011 MB / 0.7218 GB, free: 1.195 MB / 458.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.006527/0.5456, allocations: 3.807 MB / 0.7255 GB, free: 14.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.5472, allocations: 1.326 MB / 0.7268 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008802/0.5481, allocations: 0.6228 MB / 0.7274 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.5482, allocations: 23.95 kB / 0.7275 GB, free: 12.81 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5483, allocations: 50.17 kB / 0.7275 GB, free: 12.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.795e-06/0.5483, allocations: 0 / 0.7275 GB, free: 12.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=99): time 0.01264/0.5609, allocations: 4.19 MB / 0.7316 GB, free: 9.148 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.561, allocations: 144.7 kB / 0.7317 GB, free: 8.977 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.5623, allocations: 0.844 MB / 0.7326 GB, free: 8.332 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.5625, allocations: 44.14 kB / 0.7326 GB, free: 8.297 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.5628, allocations: 0.5076 MB / 0.7331 GB, free: 8.016 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/0.5632, allocations: 354.6 kB / 0.7334 GB, free: 7.707 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.5633, allocations: 21.12 kB / 0.7335 GB, free: 7.703 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5634, allocations: 352.4 kB / 0.7338 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008179/0.5642, allocations: 494.2 kB / 0.7343 GB, free: 7.105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/0.5651, allocations: 0.613 MB / 0.7349 GB, free: 6.695 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009266/0.5661, allocations: 0.5779 MB / 0.7354 GB, free: 6.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5661, allocations: 4.031 kB / 0.7354 GB, free: 6.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01342/0.5795, allocations: 4.397 MB / 0.7397 GB, free: 2.527 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.5799, allocations: 0.9425 MB / 0.7406 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.5799, allocations: 0 / 0.7406 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006265/0.5862, allocations: 1.801 MB / 0.7424 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009403/0.5871, allocations: 170.9 kB / 0.7426 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.6032, allocations: 8.616 MB / 0.751 GB, free: 7.996 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.6049, allocations: 203 kB / 0.7512 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.605, allocations: 35.98 kB / 0.7512 GB, free: 7.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.605, allocations: 8 kB / 0.7512 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/0.6179, allocations: 4.262 MB / 0.7554 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.618, allocations: 8 kB / 0.7554 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.6243, allocations: 1.801 MB / 0.7571 GB, free: 1.656 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008899/0.6252, allocations: 159.8 kB / 0.7573 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.6414, allocations: 8.601 MB / 0.7657 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.643, allocations: 187.2 kB / 0.7659 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.6432, allocations: 35.98 kB / 0.7659 GB, free: 8.41 MB / 0.4948 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.0003223/0.6435, allocations: 186.5 kB / 0.7661 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/0.6438, allocations: 126.4 kB / 0.7662 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/0.6569, allocations: 4.337 MB / 0.7704 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.6569, allocations: 12 kB / 0.7705 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.657, allocations: 0 / 0.7705 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.657, allocations: 3.984 kB / 0.7705 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.6723, allocations: 6.147 MB / 0.7765 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6723, allocations: 0 / 0.7765 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.6732, allocations: 119.9 kB / 0.7766 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005503/0.6787, allocations: 1.675 MB / 0.7782 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.6789, allocations: 31.92 kB / 0.7782 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.6919, allocations: 6.325 MB / 0.7844 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.6919, allocations: 4 kB / 0.7844 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/0.7061, allocations: 5.122 MB / 0.7894 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.7066, allocations: 223.2 kB / 0.7896 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.7068, allocations: 16 kB / 0.7897 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.7081, allocations: 147.8 kB / 0.7898 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005721/0.7087, allocations: 204.9 kB / 0.79 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.7088, allocations: 20 kB / 0.79 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009051/0.7097, allocations: 0.6611 MB / 0.7907 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7097, allocations: 0 / 0.7907 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001974/0.7117, allocations: 0.7216 MB / 0.7914 GB, free: 13.96 MB / 0.5261 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.0003242/0.712, allocations: 155 kB / 0.7915 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01071/0.7227, allocations: 4.178 MB / 0.7956 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7228, allocations: 8.125 kB / 0.7956 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004418/0.7272, allocations: 1.594 MB / 0.7971 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.7281, allocations: 100.4 kB / 0.7972 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.7316, allocations: 1.87 MB / 0.7991 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.7323, allocations: 1.169 MB / 0.8002 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008559/0.7331, allocations: 189.7 kB / 0.8004 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.7334, allocations: 55.42 kB / 0.8004 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of SimCode: time 6.31e-07/0.7334, allocations: 0 / 0.8004 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of Templates: time 0.04551/0.7789, allocations: 30.72 MB / 0.8304 GB, free: 5.695 MB / 0.5573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)