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") [: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.002279/0.002279, allocations: 180.7 kB / 7.455 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.245/1.245, allocations: 221.4 MB / 229.3 MB, free: 2.984 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.0009734/0.0009735, allocations: 102.9 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4824/0.4824, allocations: 78.07 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.703e-06/6.743e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 69.35 MB / 0.5407 GB, free: 21.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.3724, allocations: 98.06 MB / 0.6365 GB, free: 6.672 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3726, allocations: 75.95 kB / 0.6365 GB, free: 6.598 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07118/0.4438, allocations: 24.22 MB / 0.6602 GB, free: 14.19 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.27e-05/0.444, allocations: 20 kB / 0.6602 GB, free: 14.17 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.005372/0.4493, allocations: 1.738 MB / 0.6619 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4494, allocations: 8.031 kB / 0.6619 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003913/0.4533, allocations: 0.5643 MB / 0.6625 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.4552, allocations: 0.7225 MB / 0.6632 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/0.4555, allocations: 248 kB / 0.6634 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.4557, allocations: 44 kB / 0.6635 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001711/0.4575, allocations: 0.7772 MB / 0.6642 GB, free: 9.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.4591, allocations: 0.8056 MB / 0.665 GB, free: 9.129 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.4592, allocations: 3.938 kB / 0.665 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.705e-05/0.4593, allocations: 0 / 0.665 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.4593, allocations: 20 kB / 0.665 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/0.4668, allocations: 3.411 MB / 0.6684 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.4683, allocations: 0.6358 MB / 0.669 GB, free: 4.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.4693, allocations: 0.5408 MB / 0.6695 GB, free: 4.367 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.4694, allocations: 8.781 kB / 0.6695 GB, free: 4.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.4695, allocations: 43.33 kB / 0.6696 GB, free: 4.309 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 3.316e-06/0.4695, allocations: 0 / 0.6696 GB, free: 4.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.0147/0.4842, allocations: 4.237 MB / 0.6737 GB, free: 60 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1548/0.639, allocations: 91.27 kB / 0.6738 GB, free: 142.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009465/0.64, allocations: 0.6226 MB / 0.6744 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.6402, allocations: 25.7 kB / 0.6744 GB, free: 142.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.6404, allocations: 295.3 kB / 0.6747 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.6408, allocations: 308.5 kB / 0.675 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.6409, allocations: 0 / 0.675 GB, free: 142.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.641, allocations: 339.9 kB / 0.6753 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.6418, allocations: 435.1 kB / 0.6757 GB, free: 141.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007575/0.6425, allocations: 0.5317 MB / 0.6762 GB, free: 141.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007611/0.6433, allocations: 474.5 kB / 0.6767 GB, free: 141.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6433, allocations: 0 / 0.6767 GB, free: 141.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01326/0.6566, allocations: 4.385 MB / 0.681 GB, free: 141.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.6568, allocations: 0.879 MB / 0.6818 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6568, allocations: 3.562 kB / 0.6818 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/0.6628, allocations: 1.746 MB / 0.6835 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.6636, allocations: 142.9 kB / 0.6837 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01443/0.6781, allocations: 6.405 MB / 0.6899 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.6795, allocations: 186.4 kB / 0.6901 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.6797, allocations: 35.03 kB / 0.6902 GB, free: 139.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.6797, allocations: 3.531 kB / 0.6902 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.013/0.6927, allocations: 4.232 MB / 0.6943 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.6928, allocations: 7.797 kB / 0.6943 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006248/0.699, allocations: 1.74 MB / 0.696 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.7001, allocations: 146.8 kB / 0.6961 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.7153, allocations: 6.402 MB / 0.7024 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.7169, allocations: 176.4 kB / 0.7026 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.7171, allocations: 30.17 kB / 0.7026 GB, free: 137.2 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 (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.0003104/0.7174, allocations: 122 kB / 0.7027 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.7177, allocations: 111 kB / 0.7028 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.731, allocations: 4.331 MB / 0.707 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.7311, allocations: 11.58 kB / 0.707 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.7311, allocations: 0 / 0.707 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.837e-05/0.7312, allocations: 3.188 kB / 0.707 GB, free: 136.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.7466, allocations: 5.773 MB / 0.7127 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7467, allocations: 4.062 kB / 0.7127 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007969/0.7475, allocations: 126.2 kB / 0.7128 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.7532, allocations: 1.726 MB / 0.7145 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/0.7534, allocations: 10.2 kB / 0.7145 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.7663, allocations: 5.655 MB / 0.72 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7663, allocations: 0 / 0.72 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01443/0.7808, allocations: 5.102 MB / 0.725 GB, free: 131.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.7813, allocations: 190.4 kB / 0.7252 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.7817, allocations: 4.703 kB / 0.7252 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.7831, allocations: 144.3 kB / 0.7253 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.7835, allocations: 120.8 kB / 0.7255 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.7837, allocations: 21.89 kB / 0.7255 GB, free: 131 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000738/0.7844, allocations: 492.5 kB / 0.7259 GB, free: 130.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002114/0.7865, allocations: 0.5982 MB / 0.7265 GB, free: 130.7 MB / 490.7 MB 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 () * 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.0003253/0.7869, allocations: 134.2 kB / 0.7267 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/0.7973, allocations: 3.44 MB / 0.73 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.7973, allocations: 0 / 0.73 GB, free: 129.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004424/0.8018, allocations: 1.434 MB / 0.7314 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.8026, allocations: 58.3 kB / 0.7315 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.8079, allocations: 1.626 MB / 0.7331 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009589/0.8089, allocations: 1.123 MB / 0.7342 GB, free: 125.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.332e-06/0.8089, allocations: 4 kB / 0.7342 GB, free: 125.8 MB / 490.7 MB Notification: Performance of Templates: time 0.04/0.8489, allocations: 28.35 MB / 0.7618 GB, free: 105.5 MB / 490.7 MB 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)