Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001959/0.001959, allocations: 181.8 kB / 7.46 MB, free: 2.5 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.053/1.053, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.0008548/0.0008548, allocations: 103.3 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3508/0.3508, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.939e-06, allocations: 0 / 484.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2164, allocations: 69.34 MB / 0.5408 GB, free: 21.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09969/0.3161, allocations: 98.05 MB / 0.6365 GB, free: 6.887 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.3164, allocations: 83.95 kB / 0.6366 GB, free: 6.805 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05941/0.3759, allocations: 24.21 MB / 0.6602 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.973e-05/0.3759, allocations: 24 kB / 0.6603 GB, free: 14.38 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.004125/0.38, allocations: 1.738 MB / 0.6619 GB, free: 12.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3801, allocations: 8.031 kB / 0.662 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/0.3832, allocations: 0.5682 MB / 0.6625 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3845, allocations: 0.7186 MB / 0.6632 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.3848, allocations: 252 kB / 0.6635 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3849, allocations: 40 kB / 0.6635 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/0.3862, allocations: 0.7733 MB / 0.6642 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.3876, allocations: 0.8134 MB / 0.665 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3876, allocations: 0 / 0.665 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.3877, allocations: 0 / 0.665 GB, free: 9.336 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3877, allocations: 20 kB / 0.6651 GB, free: 9.316 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.3932, allocations: 3.411 MB / 0.6684 GB, free: 5.766 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3944, allocations: 0.632 MB / 0.669 GB, free: 5.125 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007404/0.3951, allocations: 0.5388 MB / 0.6695 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.86e-05/0.3952, allocations: 16.77 kB / 0.6696 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3952, allocations: 43.34 kB / 0.6696 GB, free: 4.516 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 1.854e-06/0.3952, allocations: 0 / 0.6696 GB, free: 4.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01183/0.4071, allocations: 4.237 MB / 0.6737 GB, free: 268 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.4071, allocations: 85.89 kB / 0.6738 GB, free: 164 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1196/0.5267, allocations: 0.62 MB / 0.6744 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.5269, allocations: 29.67 kB / 0.6744 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.527, allocations: 292.8 kB / 0.6747 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.5273, allocations: 308.5 kB / 0.675 GB, free: 142.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.5274, allocations: 3.969 kB / 0.675 GB, free: 142.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.5274, allocations: 341.1 kB / 0.6753 GB, free: 142.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000625/0.5281, allocations: 431.3 kB / 0.6758 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.5287, allocations: 0.533 MB / 0.6763 GB, free: 142.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.5294, allocations: 474.8 kB / 0.6767 GB, free: 142.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5294, allocations: 0 / 0.6767 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01117/0.5405, allocations: 4.387 MB / 0.681 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.5407, allocations: 0.8736 MB / 0.6819 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5407, allocations: 3.75 kB / 0.6819 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005018/0.5457, allocations: 1.747 MB / 0.6836 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.5463, allocations: 144.4 kB / 0.6837 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.5581, allocations: 6.41 MB / 0.69 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.5591, allocations: 184.3 kB / 0.6902 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.5592, allocations: 31.11 kB / 0.6902 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.5592, allocations: 2.562 kB / 0.6902 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01098/0.5702, allocations: 4.239 MB / 0.6943 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5702, allocations: 0 / 0.6943 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/0.5754, allocations: 1.747 MB / 0.696 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.576, allocations: 136.9 kB / 0.6962 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/0.5885, allocations: 6.409 MB / 0.7024 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.5896, allocations: 178.1 kB / 0.7026 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.949e-05/0.5897, allocations: 25.56 kB / 0.7026 GB, free: 137.9 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.000185/0.5899, allocations: 115.6 kB / 0.7027 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.59, allocations: 117.7 kB / 0.7028 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/0.6014, allocations: 4.324 MB / 0.7071 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6014, allocations: 8.844 kB / 0.7071 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.6014, allocations: 0 / 0.7071 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6014, allocations: 3.844 kB / 0.7071 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.6138, allocations: 5.786 MB / 0.7127 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6138, allocations: 0 / 0.7127 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.6144, allocations: 115.4 kB / 0.7128 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004659/0.6191, allocations: 1.736 MB / 0.7145 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.634e-05/0.6192, allocations: 7.172 kB / 0.7145 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.6297, allocations: 5.651 MB / 0.7201 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6297, allocations: 1.594 kB / 0.7201 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01173/0.6415, allocations: 5.101 MB / 0.725 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.6416, allocations: 195.6 kB / 0.7252 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/0.6418, allocations: 7.531 kB / 0.7252 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.6428, allocations: 135.1 kB / 0.7254 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.6431, allocations: 127.1 kB / 0.7255 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.113e-05/0.6432, allocations: 23.52 kB / 0.7255 GB, free: 131.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004441/0.6436, allocations: 490.5 kB / 0.726 GB, free: 131.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001296/0.6449, allocations: 0.5976 MB / 0.7266 GB, free: 131.2 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.0002133/0.6452, allocations: 139.2 kB / 0.7267 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008563/0.6537, allocations: 3.437 MB / 0.73 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.6538, allocations: 0.5625 kB / 0.73 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003612/0.6574, allocations: 1.436 MB / 0.7314 GB, free: 128.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.6578, allocations: 62.47 kB / 0.7315 GB, free: 128.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.6612, allocations: 1.613 MB / 0.7331 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/0.6619, allocations: 1.127 MB / 0.7342 GB, free: 126.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6619, allocations: 3.828 kB / 0.7342 GB, free: 126.2 MB / 490.7 MB Notification: Performance of Templates: time 0.03093/0.6928, allocations: 28.35 MB / 0.7619 GB, free: 106 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)