Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.002281/0.002281, allocations: 173.4 kB / 7.458 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.212/1.212, 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.0009513/0.0009514, allocations: 93.89 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4891/0.4891, allocations: 78.91 MB / 409.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.232e-06, allocations: 0 / 485.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3704, allocations: 69.5 MB / 0.5419 GB, free: 20.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4934, allocations: 98.37 MB / 0.6379 GB, free: 5.586 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4937, allocations: 75.95 kB / 0.638 GB, free: 5.512 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06656/0.5603, allocations: 24.42 MB / 0.6618 GB, free: 12.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.177e-05/0.5604, allocations: 23.94 kB / 0.6619 GB, free: 12.88 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.004943/0.5654, allocations: 1.73 MB / 0.6636 GB, free: 11.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5654, allocations: 8.031 kB / 0.6636 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.5689, allocations: 0.5682 MB / 0.6641 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.5706, allocations: 0.7069 MB / 0.6648 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002936/0.5709, allocations: 240.2 kB / 0.665 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.571, allocations: 55.84 kB / 0.6651 GB, free: 9.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/0.5725, allocations: 0.7733 MB / 0.6659 GB, free: 8.676 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5741, allocations: 0.8095 MB / 0.6666 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.5741, allocations: 0 / 0.6666 GB, free: 7.855 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.5742, allocations: 3.984 kB / 0.6666 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.5742, allocations: 16 kB / 0.6667 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00651/0.5807, allocations: 3.45 MB / 0.67 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.5821, allocations: 0.6282 MB / 0.6706 GB, free: 3.598 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000848/0.5829, allocations: 0.5354 MB / 0.6712 GB, free: 3.059 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.5831, allocations: 20.69 kB / 0.6712 GB, free: 3.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5831, allocations: 39.34 kB / 0.6712 GB, free: 2.992 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.515e-06/0.5831, allocations: 0 / 0.6712 GB, free: 2.992 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2268/0.8099, allocations: 4.226 MB / 0.6754 GB, free: 142.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.81, allocations: 89.67 kB / 0.6754 GB, free: 142 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.8111, allocations: 0.6305 MB / 0.6761 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.8113, allocations: 32.39 kB / 0.6761 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.8115, allocations: 296.1 kB / 0.6764 GB, free: 141.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.8117, allocations: 300.2 kB / 0.6767 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.8118, allocations: 0 / 0.6767 GB, free: 141.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.8119, allocations: 341.1 kB / 0.677 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.8126, allocations: 434.9 kB / 0.6774 GB, free: 141.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.8133, allocations: 0.5264 MB / 0.6779 GB, free: 141.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.814, allocations: 469.9 kB / 0.6784 GB, free: 141.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.814, allocations: 0 / 0.6784 GB, free: 141.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01222/0.8262, allocations: 4.358 MB / 0.6826 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.8265, allocations: 0.8757 MB / 0.6835 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.8265, allocations: 7.656 kB / 0.6835 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.8319, allocations: 1.756 MB / 0.6852 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.8327, allocations: 141.9 kB / 0.6853 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.8457, allocations: 6.409 MB / 0.6916 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.8471, allocations: 183.9 kB / 0.6918 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.8472, allocations: 28.72 kB / 0.6918 GB, free: 138.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.8472, allocations: 6.172 kB / 0.6918 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/0.8591, allocations: 4.213 MB / 0.6959 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.8592, allocations: 2.375 kB / 0.6959 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/0.8649, allocations: 1.767 MB / 0.6976 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/0.8657, allocations: 131.4 kB / 0.6978 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.88, allocations: 6.426 MB / 0.704 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.8815, allocations: 171.2 kB / 0.7042 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.8816, allocations: 27.5 kB / 0.7042 GB, free: 136.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.0002857/0.8819, allocations: 118.9 kB / 0.7043 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.8822, allocations: 114.5 kB / 0.7044 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/0.8946, allocations: 4.311 MB / 0.7087 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.8947, allocations: 15.38 kB / 0.7087 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8947, allocations: 0 / 0.7087 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.8947, allocations: 7.516 kB / 0.7087 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.9094, allocations: 5.769 MB / 0.7143 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.9095, allocations: 0 / 0.7143 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.9103, allocations: 119.1 kB / 0.7144 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005245/0.9156, allocations: 1.731 MB / 0.7161 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.9158, allocations: 2.844 kB / 0.7161 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/0.9273, allocations: 5.664 MB / 0.7216 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.9273, allocations: 6.562 kB / 0.7217 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01411/0.9414, allocations: 5.103 MB / 0.7266 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/0.942, allocations: 201 kB / 0.7268 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.9424, allocations: 6.641 kB / 0.7268 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.9437, allocations: 139.2 kB / 0.727 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004078/0.9441, allocations: 116.1 kB / 0.7271 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.9443, allocations: 25.61 kB / 0.7271 GB, free: 130.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009214/0.9452, allocations: 499.2 kB / 0.7276 GB, free: 129.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002397/0.9476, allocations: 0.5868 MB / 0.7282 GB, free: 129.8 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.000377/0.948, allocations: 139.3 kB / 0.7283 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009797/0.9578, allocations: 3.429 MB / 0.7316 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9578, allocations: 0 / 0.7316 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003963/0.9618, allocations: 1.431 MB / 0.733 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.9625, allocations: 66.39 kB / 0.7331 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.9669, allocations: 1.554 MB / 0.7346 GB, free: 125.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007104/0.9676, allocations: 1.114 MB / 0.7357 GB, free: 124.4 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.9676, allocations: 4 kB / 0.7357 GB, free: 124.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04131/1.009, allocations: 28.3 MB / 0.7633 GB, free: 103.7 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_AVR.pipe 2>&1)