Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.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.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.00154, allocations: 169 kB / 7.645 MB, free: 1.434 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.371/1.371, allocations: 205.3 MB / 213.4 MB, free: 1.746 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.0009563/0.0009563, allocations: 90.3 kB / 261.4 MB, free: 1.684 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.07056/0.07056, allocations: 12.62 MB / 321.9 MB, free: 15.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4254/0.4254, allocations: 78.05 MB / 450.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.852e-05, allocations: 2.5 kB / 0.5147 GB, free: 41.8 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 69.32 MB / 0.5824 GB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.2697, allocations: 99.43 MB / 0.6795 GB, free: 12.77 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.27, allocations: 79.95 kB / 0.6796 GB, free: 12.69 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3476/0.6176, allocations: 23.64 MB / 0.7027 GB, free: 96.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6176, allocations: 0 / 0.7027 GB, free: 96.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.946e-05/0.6177, allocations: 25.5 kB / 0.7027 GB, free: 96.61 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004188/0.6219, allocations: 1.67 MB / 0.7043 GB, free: 95.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.622, allocations: 12.73 kB / 0.7043 GB, free: 95.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/0.6252, allocations: 0.5461 MB / 0.7049 GB, free: 95.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.6266, allocations: 0.7077 MB / 0.7055 GB, free: 95.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.6269, allocations: 235.8 kB / 0.7058 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.627, allocations: 45.19 kB / 0.7058 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/0.6286, allocations: 0.783 MB / 0.7066 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.6297, allocations: 0.8086 MB / 0.7074 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.6298, allocations: 0 / 0.7074 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.6299, allocations: 3.938 kB / 0.7074 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.6299, allocations: 15.62 kB / 0.7074 GB, free: 95.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.6349, allocations: 3.442 MB / 0.7107 GB, free: 94.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6362, allocations: 1.242 MB / 0.712 GB, free: 93.62 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.6368, allocations: 0.5422 MB / 0.7125 GB, free: 93.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.6369, allocations: 16.88 kB / 0.7125 GB, free: 93.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.637, allocations: 45.56 kB / 0.7126 GB, free: 93.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 2.665e-06/0.637, allocations: 0 / 0.7126 GB, free: 93.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=89): time 0.01051/0.6475, allocations: 3.964 MB / 0.7164 GB, free: 92.81 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.6475, allocations: 85.55 kB / 0.7165 GB, free: 92.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007751/0.6483, allocations: 0.6334 MB / 0.7171 GB, free: 92.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.6485, allocations: 28.55 kB / 0.7171 GB, free: 92.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.6487, allocations: 459.9 kB / 0.7176 GB, free: 92.02 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.6489, allocations: 303 kB / 0.7179 GB, free: 91.78 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.649, allocations: 4 kB / 0.7179 GB, free: 91.78 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.649, allocations: 337.5 kB / 0.7182 GB, free: 91.46 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.6496, allocations: 428.6 kB / 0.7186 GB, free: 91.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.6502, allocations: 0.5224 MB / 0.7191 GB, free: 90.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.6508, allocations: 463.3 kB / 0.7196 GB, free: 90.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.6508, allocations: 0 / 0.7196 GB, free: 90.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01062/0.6614, allocations: 4.102 MB / 0.7236 GB, free: 87.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.6616, allocations: 0.8721 MB / 0.7244 GB, free: 86.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.6617, allocations: 4 kB / 0.7244 GB, free: 86.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004938/0.6666, allocations: 1.701 MB / 0.7261 GB, free: 84.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000686/0.6673, allocations: 135.8 kB / 0.7262 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.679, allocations: 7.095 MB / 0.7331 GB, free: 77.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6804, allocations: 175.2 kB / 0.7333 GB, free: 76.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.235e-05/0.6805, allocations: 28 kB / 0.7333 GB, free: 76.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.6805, allocations: 7.938 kB / 0.7333 GB, free: 76.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01022/0.6907, allocations: 3.949 MB / 0.7372 GB, free: 72.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.6908, allocations: 4 kB / 0.7372 GB, free: 72.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004704/0.6955, allocations: 1.69 MB / 0.7389 GB, free: 71.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.6962, allocations: 131.8 kB / 0.739 GB, free: 71.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.7077, allocations: 7.094 MB / 0.7459 GB, free: 63.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7091, allocations: 159.3 kB / 0.7461 GB, free: 63.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.7092, allocations: 35.92 kB / 0.7461 GB, free: 63.66 MB / 474.7 MB 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 (71): * Single equations (assignments): 70 * 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.0002319/0.7094, allocations: 116.8 kB / 0.7462 GB, free: 63.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.7096, allocations: 110.6 kB / 0.7463 GB, free: 63.43 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/0.7202, allocations: 4.067 MB / 0.7503 GB, free: 59.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.7202, allocations: 8 kB / 0.7503 GB, free: 59.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.7202, allocations: 11.94 kB / 0.7503 GB, free: 59.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.88e-05/0.7203, allocations: 3.984 kB / 0.7503 GB, free: 59.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.7324, allocations: 5.646 MB / 0.7558 GB, free: 53.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.7324, allocations: 4.062 kB / 0.7558 GB, free: 53.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.733, allocations: 115.8 kB / 0.7559 GB, free: 53.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004523/0.7376, allocations: 1.663 MB / 0.7576 GB, free: 51.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.7377, allocations: 12 kB / 0.7576 GB, free: 51.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.7479, allocations: 6.207 MB / 0.7636 GB, free: 45.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.748, allocations: 3.938 kB / 0.7636 GB, free: 45.44 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.7595, allocations: 4.814 MB / 0.7683 GB, free: 40.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.76, allocations: 191.6 kB / 0.7685 GB, free: 40.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7602, allocations: 4 kB / 0.7685 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7612, allocations: 119.9 kB / 0.7686 GB, free: 40.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/0.7618, allocations: 204.4 kB / 0.7688 GB, free: 40.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.7619, allocations: 24 kB / 0.7689 GB, free: 40.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000561/0.7624, allocations: 0.4924 MB / 0.7693 GB, free: 39.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7624, allocations: 4 kB / 0.7693 GB, free: 39.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001586/0.764, allocations: 0.5927 MB / 0.7699 GB, free: 38.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,AVRtypeIII1.vm,AVRtypeIII1.vr,AVRtypeIII1.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0002349/0.7643, allocations: 135.1 kB / 0.77 GB, free: 38.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008047/0.7723, allocations: 3.444 MB / 0.7734 GB, free: 35.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.7724, allocations: 0 / 0.7734 GB, free: 35.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/0.776, allocations: 1.419 MB / 0.7748 GB, free: 33.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.7767, allocations: 63.38 kB / 0.7749 GB, free: 33.83 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/0.7793, allocations: 1.482 MB / 0.7763 GB, free: 32.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.7798, allocations: 1.102 MB / 0.7774 GB, free: 31.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005624/0.7803, allocations: 132.2 kB / 0.7775 GB, free: 31.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.7805, allocations: 47.42 kB / 0.7776 GB, free: 31 MB / 474.7 MB Notification: Performance of SimCode: time 7.32e-07/0.7805, allocations: 0 / 0.7776 GB, free: 31 MB / 474.7 MB Notification: Performance of Templates: time 0.0344/0.8149, allocations: 26.19 MB / 0.8031 GB, free: 4.824 MB / 474.7 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)