Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.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.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 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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004197/0.004197, allocations: 171.1 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 223.2 MB / 239 MB, free: 1.789 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.000854/0.000854, allocations: 106.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4141/0.4141, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003071, allocations: 16 kB / 499.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2956, allocations: 69.35 MB / 0.5557 GB, free: 38.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4051, allocations: 98.87 MB / 0.6523 GB, free: 7.547 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4053, allocations: 86.67 kB / 0.6523 GB, free: 7.465 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06074/0.4661, allocations: 24.85 MB / 0.6766 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4661, allocations: 3.844 kB / 0.6766 GB, free: 14.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.151e-05/0.4662, allocations: 16 kB / 0.6766 GB, free: 14.47 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004455/0.4706, allocations: 1.873 MB / 0.6785 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4707, allocations: 8.031 kB / 0.6785 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/0.4738, allocations: 0.5487 MB / 0.679 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.475, allocations: 0.7185 MB / 0.6797 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.4753, allocations: 268.2 kB / 0.68 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.4754, allocations: 72 kB / 0.68 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.4775, allocations: 1.161 MB / 0.6812 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4775, allocations: 4 kB / 0.6812 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.993e-05/0.4776, allocations: 35.98 kB / 0.6812 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.4776, allocations: 16 kB / 0.6812 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.4797, allocations: 1.117 MB / 0.6823 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005394/0.4851, allocations: 3.528 MB / 0.6858 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.4873, allocations: 1.526 MB / 0.6872 GB, free: 3.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.4874, allocations: 16.92 kB / 0.6873 GB, free: 3.164 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4875, allocations: 39.56 kB / 0.6873 GB, free: 3.117 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.064e-06/0.4875, allocations: 0 / 0.6873 GB, free: 3.117 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.02567/0.5131, allocations: 8.29 MB / 0.6954 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.5132, allocations: 90.09 kB / 0.6955 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.5141, allocations: 0.6904 MB / 0.6962 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/0.5142, allocations: 37.7 kB / 0.6962 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.5145, allocations: 460.5 kB / 0.6966 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.5148, allocations: 327.3 kB / 0.6969 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.5148, allocations: 16 kB / 0.697 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5149, allocations: 337.9 kB / 0.6973 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.5163, allocations: 0.6813 MB / 0.6979 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.5177, allocations: 0.7984 MB / 0.6987 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.519, allocations: 0.7182 MB / 0.6994 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.519, allocations: 0 / 0.6994 GB, free: 6.566 MB / 0.4948 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01299/0.532, allocations: 4.875 MB / 0.7042 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.5323, allocations: 0.8778 MB / 0.705 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5323, allocations: 0 / 0.705 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006034/0.5384, allocations: 2.118 MB / 0.7071 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006131/0.539, allocations: 135.9 kB / 0.7072 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.5587, allocations: 10.01 MB / 0.717 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.5599, allocations: 199 kB / 0.7172 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.5601, allocations: 24 kB / 0.7172 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.5601, allocations: 4 kB / 0.7172 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01285/0.573, allocations: 4.727 MB / 0.7218 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.573, allocations: 4 kB / 0.7219 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/0.5789, allocations: 2.109 MB / 0.7239 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.5794, allocations: 139.8 kB / 0.724 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01975/0.5992, allocations: 9.98 MB / 0.7338 GB, free: 3.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6004, allocations: 179.2 kB / 0.734 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.6005, allocations: 31.98 kB / 0.734 GB, free: 2.797 MB / 0.5261 GB 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 (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004968/0.601, allocations: 292.4 kB / 0.7343 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/0.6013, allocations: 110.6 kB / 0.7344 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/0.6141, allocations: 4.853 MB / 0.7391 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.6142, allocations: 12 kB / 0.7391 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6142, allocations: 0 / 0.7391 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/0.6142, allocations: 3.984 kB / 0.7391 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/0.6293, allocations: 6.46 MB / 0.7454 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.6294, allocations: 0 / 0.7454 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.63, allocations: 111.9 kB / 0.7455 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005754/0.6357, allocations: 2.054 MB / 0.7476 GB, free: 4.746 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.6359, allocations: 20 kB / 0.7476 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.6531, allocations: 8.635 MB / 0.756 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6531, allocations: 3.938 kB / 0.756 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.6676, allocations: 5.844 MB / 0.7617 GB, free: 6.055 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.668, allocations: 195.5 kB / 0.7619 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.6683, allocations: 16 kB / 0.7619 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.6694, allocations: 143.9 kB / 0.7621 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005727/0.67, allocations: 200.6 kB / 0.7622 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.197e-05/0.6701, allocations: 27.98 kB / 0.7623 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008126/0.6709, allocations: 0.5432 MB / 0.7628 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6709, allocations: 0 / 0.7628 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00179/0.6727, allocations: 0.6475 MB / 0.7634 GB, free: 4.262 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1,order4_Inputs_Outputs.delta,order4_Inputs_Outputs.w,order4_Inputs_Outputs.e1q,order4_Inputs_Outputs.e1d) * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0002683/0.673, allocations: 141.5 kB / 0.7636 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2165/0.8895, allocations: 4.292 MB / 0.7678 GB, free: 149.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.8896, allocations: 0.5938 kB / 0.7678 GB, free: 149.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/0.8944, allocations: 1.743 MB / 0.7695 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.8953, allocations: 79.64 kB / 0.7695 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.8995, allocations: 2.434 MB / 0.7719 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.9003, allocations: 1.1 MB / 0.773 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004612/0.9007, allocations: 82.41 kB / 0.7731 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.901, allocations: 52.48 kB / 0.7731 GB, free: 147.4 MB / 0.5573 GB Notification: Performance of SimCode: time 2.043e-06/0.901, allocations: 0 / 0.7731 GB, free: 147.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.04022/0.9412, allocations: 26.56 MB / 0.7991 GB, free: 146.2 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)