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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003719/0.003719, allocations: 175.4 kB / 7.451 MB, free: 2.508 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.212/1.212, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.001449/0.001449, allocations: 85.58 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4679/0.4679, allocations: 78.05 MB / 408.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.323e-06/7.404e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2431, allocations: 69.34 MB / 0.5407 GB, free: 21.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3553, allocations: 97.79 MB / 0.6362 GB, free: 6.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.3556, allocations: 75.95 kB / 0.6363 GB, free: 6.852 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06995/0.4255, allocations: 24.14 MB / 0.6599 GB, free: 14.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.4256, allocations: 24 kB / 0.6599 GB, free: 14.5 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004976/0.4306, allocations: 1.73 MB / 0.6616 GB, free: 12.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4306, allocations: 8.031 kB / 0.6616 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.4344, allocations: 0.5682 MB / 0.6621 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.436, allocations: 0.6991 MB / 0.6628 GB, free: 11.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.4363, allocations: 248.1 kB / 0.663 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.4365, allocations: 51.89 kB / 0.6631 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001586/0.4381, allocations: 0.7772 MB / 0.6639 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/0.4396, allocations: 0.8056 MB / 0.6646 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4397, allocations: 0 / 0.6646 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.4397, allocations: 0 / 0.6646 GB, free: 9.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.4398, allocations: 16 kB / 0.6647 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006694/0.4465, allocations: 3.458 MB / 0.668 GB, free: 5.855 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4478, allocations: 0.6281 MB / 0.6686 GB, free: 5.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008546/0.4487, allocations: 0.5395 MB / 0.6692 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.4488, allocations: 12.77 kB / 0.6692 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4489, allocations: 47.33 kB / 0.6692 GB, free: 4.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.325e-06/0.4489, allocations: 0 / 0.6692 GB, free: 4.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01363/0.4625, allocations: 4.221 MB / 0.6734 GB, free: 384 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.4626, allocations: 85.89 kB / 0.6734 GB, free: 280 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1425/0.6052, allocations: 0.6324 MB / 0.6741 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.6054, allocations: 25.7 kB / 0.6741 GB, free: 142.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.6056, allocations: 295.9 kB / 0.6744 GB, free: 142.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.6059, allocations: 312.1 kB / 0.6747 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.6059, allocations: 0 / 0.6747 GB, free: 142.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.606, allocations: 338.2 kB / 0.675 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006903/0.6067, allocations: 428.1 kB / 0.6754 GB, free: 142.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.6074, allocations: 0.5277 MB / 0.6759 GB, free: 142.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.6081, allocations: 472.2 kB / 0.6764 GB, free: 142 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6081, allocations: 0 / 0.6764 GB, free: 142 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01296/0.6211, allocations: 4.361 MB / 0.6806 GB, free: 141.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.6213, allocations: 0.8745 MB / 0.6815 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.6213, allocations: 3.5 kB / 0.6815 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005757/0.6271, allocations: 1.761 MB / 0.6832 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007402/0.6278, allocations: 142 kB / 0.6833 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/0.6415, allocations: 6.412 MB / 0.6896 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.6428, allocations: 185.5 kB / 0.6898 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.6429, allocations: 31.86 kB / 0.6898 GB, free: 139.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.643, allocations: 2.875 kB / 0.6898 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/0.6557, allocations: 4.225 MB / 0.6939 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6558, allocations: 0 / 0.6939 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005992/0.6618, allocations: 1.758 MB / 0.6956 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.6626, allocations: 134.9 kB / 0.6958 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.6773, allocations: 6.415 MB / 0.702 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.6788, allocations: 172 kB / 0.7022 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.6789, allocations: 35.55 kB / 0.7022 GB, free: 137.5 MB / 490.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.0002531/0.6792, allocations: 113.1 kB / 0.7023 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.6794, allocations: 110.5 kB / 0.7024 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.6927, allocations: 4.319 MB / 0.7067 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.6928, allocations: 8.719 kB / 0.7067 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6928, allocations: 0.75 kB / 0.7067 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.321e-05/0.6928, allocations: 6.438 kB / 0.7067 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.7078, allocations: 5.762 MB / 0.7123 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.7078, allocations: 9.172 kB / 0.7123 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.7086, allocations: 117.5 kB / 0.7124 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005496/0.7141, allocations: 1.734 MB / 0.7141 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.7143, allocations: 6.594 kB / 0.7141 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.7265, allocations: 5.652 MB / 0.7196 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.7266, allocations: 6.188 kB / 0.7196 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01377/0.7403, allocations: 5.115 MB / 0.7246 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.7407, allocations: 193.2 kB / 0.7248 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.7409, allocations: 8.281 kB / 0.7248 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.7421, allocations: 138.3 kB / 0.725 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.7425, allocations: 117.8 kB / 0.7251 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/0.7426, allocations: 29.48 kB / 0.7251 GB, free: 131.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006134/0.7432, allocations: 497.5 kB / 0.7256 GB, free: 131 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00162/0.7448, allocations: 0.5852 MB / 0.7262 GB, free: 130.9 MB / 490.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.0002466/0.7451, allocations: 142.9 kB / 0.7263 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009906/0.755, allocations: 3.433 MB / 0.7296 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.755, allocations: 1.125 kB / 0.7296 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004217/0.7593, allocations: 1.433 MB / 0.731 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.7599, allocations: 58.81 kB / 0.7311 GB, free: 128.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.764, allocations: 1.565 MB / 0.7326 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.7647, allocations: 1.115 MB / 0.7337 GB, free: 126.2 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7647, allocations: 0 / 0.7337 GB, free: 126.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03731/0.8021, allocations: 28.3 MB / 0.7613 GB, free: 106 MB / 490.7 MB 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)