Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001881/0.001881, allocations: 176.8 kB / 7.461 MB, free: 2.488 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.033/1.033, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.0008148/0.0008148, allocations: 102.8 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3597/0.3597, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.08e-06, allocations: 0 / 484.4 MB, free: 4.551 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2261, allocations: 69.34 MB / 0.5407 GB, free: 21.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09962/0.3258, allocations: 97.79 MB / 0.6362 GB, free: 7.113 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/0.326, allocations: 75.95 kB / 0.6363 GB, free: 7.039 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05915/0.3852, allocations: 24.12 MB / 0.6599 GB, free: 14.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.885e-05/0.3852, allocations: 23.94 kB / 0.6599 GB, free: 14.7 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.004119/0.3894, allocations: 1.738 MB / 0.6616 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.3894, allocations: 8.031 kB / 0.6616 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.3925, allocations: 0.5682 MB / 0.6622 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.3937, allocations: 0.7069 MB / 0.6628 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.394, allocations: 240.2 kB / 0.6631 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3941, allocations: 55.83 kB / 0.6631 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001334/0.3954, allocations: 0.7772 MB / 0.6639 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.3968, allocations: 0.8056 MB / 0.6647 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3968, allocations: 0 / 0.6647 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.3969, allocations: 0 / 0.6647 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.3969, allocations: 16 kB / 0.6647 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005574/0.4025, allocations: 3.454 MB / 0.6681 GB, free: 6.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4037, allocations: 0.6281 MB / 0.6687 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007305/0.4044, allocations: 0.535 MB / 0.6692 GB, free: 4.871 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.4045, allocations: 20.75 kB / 0.6692 GB, free: 4.852 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4045, allocations: 39.34 kB / 0.6693 GB, free: 4.805 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 1.683e-06/0.4045, allocations: 0 / 0.6693 GB, free: 4.805 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01193/0.4165, allocations: 4.233 MB / 0.6734 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4165, allocations: 85.89 kB / 0.6735 GB, free: 468 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1321/0.5486, allocations: 0.6302 MB / 0.6741 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5488, allocations: 25.7 kB / 0.6741 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.5489, allocations: 294.9 kB / 0.6744 GB, free: 142.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.5492, allocations: 300.8 kB / 0.6747 GB, free: 142.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.116e-05/0.5492, allocations: 0 / 0.6747 GB, free: 142.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.859e-05/0.5493, allocations: 344.7 kB / 0.675 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.5499, allocations: 434.3 kB / 0.6754 GB, free: 142.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.5505, allocations: 0.5251 MB / 0.6759 GB, free: 142.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006229/0.5512, allocations: 471.7 kB / 0.6764 GB, free: 142.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5512, allocations: 0 / 0.6764 GB, free: 142.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01129/0.5625, allocations: 4.356 MB / 0.6806 GB, free: 142.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.5626, allocations: 0.8797 MB / 0.6815 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5626, allocations: 0 / 0.6815 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/0.5677, allocations: 1.755 MB / 0.6832 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.5683, allocations: 150.7 kB / 0.6834 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.5804, allocations: 6.411 MB / 0.6896 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.5815, allocations: 186.6 kB / 0.6898 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.5816, allocations: 34.25 kB / 0.6898 GB, free: 139.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.5816, allocations: 3.938 kB / 0.6898 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01116/0.5928, allocations: 4.214 MB / 0.6939 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5928, allocations: 7.672 kB / 0.694 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005123/0.5979, allocations: 1.758 MB / 0.6957 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.5986, allocations: 137.3 kB / 0.6958 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.6113, allocations: 6.416 MB / 0.7021 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6125, allocations: 173.1 kB / 0.7022 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/0.6126, allocations: 35.02 kB / 0.7023 GB, free: 137.8 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.0002109/0.6128, allocations: 112.3 kB / 0.7024 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.613, allocations: 107.2 kB / 0.7025 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/0.6246, allocations: 4.32 MB / 0.7067 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6246, allocations: 14.88 kB / 0.7067 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.6246, allocations: 0 / 0.7067 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/0.6247, allocations: 3.469 kB / 0.7067 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.6376, allocations: 5.762 MB / 0.7123 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6376, allocations: 0 / 0.7123 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.6382, allocations: 126.7 kB / 0.7125 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004686/0.6429, allocations: 1.727 MB / 0.7141 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.643, allocations: 6.812 kB / 0.7142 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/0.6538, allocations: 5.657 MB / 0.7197 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.6538, allocations: 10.69 kB / 0.7197 GB, free: 133.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01207/0.6659, allocations: 5.109 MB / 0.7247 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.6662, allocations: 191.6 kB / 0.7249 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.6664, allocations: 7 kB / 0.7249 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.6674, allocations: 140.4 kB / 0.725 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/0.6677, allocations: 121.3 kB / 0.7251 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-05/0.6678, allocations: 24.5 kB / 0.7251 GB, free: 131.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005193/0.6683, allocations: 497.4 kB / 0.7256 GB, free: 131.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001474/0.6698, allocations: 0.5914 MB / 0.7262 GB, free: 131.1 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.0002298/0.67, allocations: 141.2 kB / 0.7263 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.6791, allocations: 3.432 MB / 0.7297 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6791, allocations: 0 / 0.7297 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003815/0.6829, allocations: 1.429 MB / 0.7311 GB, free: 128.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.6835, allocations: 62.77 kB / 0.7311 GB, free: 128.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.6872, allocations: 1.555 MB / 0.7326 GB, free: 127.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/0.6879, allocations: 1.126 MB / 0.7337 GB, free: 126.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6879, allocations: 0 / 0.7337 GB, free: 126.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03068/0.7186, allocations: 28.3 MB / 0.7614 GB, free: 106.3 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)