Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.25/1.25, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0007741/0.0007738, allocations: 92.58 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4515/0.4515, allocations: 78.06 MB / 409.3 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.846e-05, allocations: 4 kB / 484.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 69.36 MB / 0.5413 GB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.5069, allocations: 97.85 MB / 0.6368 GB, free: 1.723 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.5071, allocations: 76.98 kB / 0.6369 GB, free: 1.648 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06604/0.5732, allocations: 24.37 MB / 0.6607 GB, free: 9.336 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5732, allocations: 4 kB / 0.6607 GB, free: 9.332 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.886e-05/0.5733, allocations: 25.31 kB / 0.6607 GB, free: 9.309 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.005474/0.5788, allocations: 1.671 MB / 0.6624 GB, free: 7.594 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.5789, allocations: 8.031 kB / 0.6624 GB, free: 7.586 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.5825, allocations: 0.5449 MB / 0.6629 GB, free: 7.039 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.5845, allocations: 0.703 MB / 0.6636 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004613/0.585, allocations: 236.2 kB / 0.6638 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.5854, allocations: 43.98 kB / 0.6639 GB, free: 5.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002092/0.5875, allocations: 0.7783 MB / 0.6646 GB, free: 5.203 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.5893, allocations: 0.8095 MB / 0.6654 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.5893, allocations: 0 / 0.6654 GB, free: 4.383 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.5894, allocations: 4 kB / 0.6654 GB, free: 4.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.5894, allocations: 18.44 kB / 0.6654 GB, free: 4.363 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006805/0.5963, allocations: 3.442 MB / 0.6688 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.598, allocations: 1.229 MB / 0.67 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.5989, allocations: 0.5427 MB / 0.6705 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.599, allocations: 20.66 kB / 0.6706 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.5991, allocations: 47.34 kB / 0.6706 GB, free: 14.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.605e-06/0.5991, allocations: 0.6562 kB / 0.6706 GB, free: 14.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01276/0.6118, allocations: 3.957 MB / 0.6745 GB, free: 10.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.6119, allocations: 93.83 kB / 0.6746 GB, free: 10.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6132, allocations: 0.6315 MB / 0.6752 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.6134, allocations: 29.7 kB / 0.6752 GB, free: 10.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000388/0.6138, allocations: 456.4 kB / 0.6756 GB, free: 9.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004992/0.6143, allocations: 307.4 kB / 0.6759 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.6144, allocations: 0.9375 kB / 0.6759 GB, free: 9.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6146, allocations: 338 kB / 0.6763 GB, free: 8.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/0.6154, allocations: 426.6 kB / 0.6767 GB, free: 8.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.6162, allocations: 0.5202 MB / 0.6772 GB, free: 7.965 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007985/0.617, allocations: 468.4 kB / 0.6776 GB, free: 7.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6171, allocations: 0 / 0.6776 GB, free: 7.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01236/0.6294, allocations: 4.097 MB / 0.6816 GB, free: 3.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004392/0.6299, allocations: 0.8811 MB / 0.6825 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6299, allocations: 0 / 0.6825 GB, free: 2.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005562/0.6355, allocations: 1.685 MB / 0.6841 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/0.6362, allocations: 141.3 kB / 0.6843 GB, free: 0.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.6512, allocations: 7.091 MB / 0.6912 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.6528, allocations: 163.3 kB / 0.6913 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.653, allocations: 34.92 kB / 0.6914 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.6531, allocations: 4 kB / 0.6914 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01243/0.6655, allocations: 3.96 MB / 0.6952 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.6656, allocations: 0 / 0.6952 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005635/0.6712, allocations: 1.691 MB / 0.6969 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.6719, allocations: 143.8 kB / 0.697 GB, free: 3.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.687, allocations: 7.1 MB / 0.704 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.6885, allocations: 155.2 kB / 0.7041 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.6887, allocations: 28 kB / 0.7041 GB, free: 12 MB / 0.5105 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 () * 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.0003044/0.689, allocations: 120.8 kB / 0.7043 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003183/0.6893, allocations: 106.7 kB / 0.7044 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.7017, allocations: 4.067 MB / 0.7083 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.7018, allocations: 8 kB / 0.7083 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.7018, allocations: 1.312 kB / 0.7083 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.7018, allocations: 7.938 kB / 0.7083 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.7167, allocations: 5.65 MB / 0.7139 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7168, allocations: 0 / 0.7139 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.7175, allocations: 121.2 kB / 0.714 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005313/0.7228, allocations: 1.665 MB / 0.7156 GB, free: 104 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.723, allocations: 4 kB / 0.7156 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.736, allocations: 6.213 MB / 0.7217 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.736, allocations: 0 / 0.7217 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01349/0.7495, allocations: 4.818 MB / 0.7264 GB, free: 4.906 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.75, allocations: 195.6 kB / 0.7266 GB, free: 4.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003346/0.7503, allocations: 4 kB / 0.7266 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7516, allocations: 123.8 kB / 0.7267 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006492/0.7522, allocations: 208.3 kB / 0.7269 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.7524, allocations: 21.22 kB / 0.7269 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007569/0.7531, allocations: 0.4884 MB / 0.7274 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7531, allocations: 4 kB / 0.7274 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002173/0.7553, allocations: 0.5967 MB / 0.728 GB, free: 3.246 MB / 0.5261 GB 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.0002915/0.7556, allocations: 126.9 kB / 0.7281 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009395/0.765, allocations: 3.442 MB / 0.7314 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.7651, allocations: 4.062 kB / 0.7315 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004206/0.7693, allocations: 1.433 MB / 0.7329 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.7701, allocations: 63.42 kB / 0.7329 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.7733, allocations: 1.475 MB / 0.7344 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.7741, allocations: 1.102 MB / 0.7354 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006963/0.7748, allocations: 133 kB / 0.7356 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.775, allocations: 43.44 kB / 0.7356 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of SimCode: time 6.11e-07/0.775, allocations: 0 / 0.7356 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.04034/0.8154, allocations: 26.17 MB / 0.7612 GB, free: 1.395 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)