Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.00234/0.00234, allocations: 182.5 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008996/0.0008995, allocations: 96.77 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07814/0.07814, allocations: 12.59 MB / 321.6 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2709/0.2709, allocations: 78.04 MB / 450.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.727e-06/8.867e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 69.33 MB / 0.5818 GB, free: 8.773 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.571, allocations: 99.62 MB / 0.6791 GB, free: 8.582 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.5714, allocations: 83.05 kB / 0.6792 GB, free: 8.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06434/0.6358, allocations: 23.47 MB / 0.7021 GB, free: 5.289 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.378e-05/0.6359, allocations: 16 kB / 0.7021 GB, free: 5.273 MB / 442.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.005828/0.6418, allocations: 1.734 MB / 0.7038 GB, free: 3.605 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6418, allocations: 15.97 kB / 0.7038 GB, free: 3.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.6457, allocations: 0.5731 MB / 0.7044 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.6479, allocations: 0.7282 MB / 0.7051 GB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.6483, allocations: 236.2 kB / 0.7053 GB, free: 2.168 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.6486, allocations: 47.91 kB / 0.7054 GB, free: 2.121 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001796/0.6504, allocations: 0.7792 MB / 0.7061 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.6521, allocations: 0.8144 MB / 0.7069 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.6521, allocations: 0 / 0.7069 GB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/0.6522, allocations: 4 kB / 0.7069 GB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.6522, allocations: 16 kB / 0.7069 GB, free: 1.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00777/0.66, allocations: 3.412 MB / 0.7103 GB, free: 14.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.6618, allocations: 0.6361 MB / 0.7109 GB, free: 14.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009509/0.6628, allocations: 0.537 MB / 0.7114 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.663, allocations: 16.75 kB / 0.7114 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.6631, allocations: 45.78 kB / 0.7115 GB, free: 13.71 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 5.45e-06/0.6631, allocations: 0 / 0.7115 GB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01385/0.6769, allocations: 4.23 MB / 0.7156 GB, free: 10 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6771, allocations: 85.89 kB / 0.7157 GB, free: 9.902 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.6783, allocations: 0.6242 MB / 0.7163 GB, free: 9.418 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.6785, allocations: 25.7 kB / 0.7163 GB, free: 9.387 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.6788, allocations: 296.9 kB / 0.7166 GB, free: 9.133 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.6793, allocations: 305.9 kB / 0.7169 GB, free: 8.867 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.134e-05/0.6794, allocations: 0 / 0.7169 GB, free: 8.867 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6796, allocations: 343.2 kB / 0.7172 GB, free: 8.539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008227/0.6804, allocations: 439 kB / 0.7177 GB, free: 8.312 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009403/0.6814, allocations: 0.5276 MB / 0.7182 GB, free: 7.969 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.6822, allocations: 476.8 kB / 0.7186 GB, free: 7.715 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6822, allocations: 0 / 0.7186 GB, free: 7.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.01345/0.6957, allocations: 4.385 MB / 0.7229 GB, free: 3.887 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.6961, allocations: 0.8788 MB / 0.7238 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6962, allocations: 0 / 0.7238 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006259/0.7024, allocations: 1.749 MB / 0.7255 GB, free: 1.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.7035, allocations: 143.5 kB / 0.7256 GB, free: 1.297 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.7189, allocations: 6.411 MB / 0.7319 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.7206, allocations: 191 kB / 0.7321 GB, free: 12.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.7209, allocations: 31.67 kB / 0.7321 GB, free: 12.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.721, allocations: 4 kB / 0.7321 GB, free: 12.32 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01363/0.7346, allocations: 4.236 MB / 0.7362 GB, free: 8.648 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.7347, allocations: 3.906 kB / 0.7362 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006221/0.7409, allocations: 1.743 MB / 0.7379 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/0.7418, allocations: 139.8 kB / 0.7381 GB, free: 6.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.7576, allocations: 6.414 MB / 0.7443 GB, free: 392 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.7593, allocations: 171.3 kB / 0.7445 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.7596, allocations: 31.98 kB / 0.7445 GB, free: 188 kB / 474.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.0003893/0.76, allocations: 112.9 kB / 0.7446 GB, free: 68 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/0.7605, allocations: 110.8 kB / 0.7447 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.774, allocations: 4.327 MB / 0.749 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.563e-05/0.7741, allocations: 12 kB / 0.749 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.7742, allocations: 11.91 kB / 0.749 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.713e-05/0.7742, allocations: 3.984 kB / 0.749 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/0.7912, allocations: 5.77 MB / 0.7546 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.7913, allocations: 0 / 0.7546 GB, free: 5.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/0.7923, allocations: 123.9 kB / 0.7547 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005773/0.7981, allocations: 1.726 MB / 0.7564 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002544/0.7984, allocations: 11.89 kB / 0.7564 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.8128, allocations: 5.656 MB / 0.762 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.8128, allocations: 0 / 0.762 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01527/0.8281, allocations: 5.099 MB / 0.7669 GB, free: 8.922 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/0.8289, allocations: 191.6 kB / 0.7671 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.8294, allocations: 0 / 0.7671 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.831, allocations: 139.9 kB / 0.7673 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/0.8315, allocations: 124.5 kB / 0.7674 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8316, allocations: 24 kB / 0.7674 GB, free: 8.434 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009979/0.8326, allocations: 496.1 kB / 0.7679 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002911/0.8355, allocations: 0.5811 MB / 0.7684 GB, free: 7.355 MB / 0.4948 GB 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.0004135/0.836, allocations: 139 kB / 0.7686 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01097/0.8469, allocations: 3.441 MB / 0.7719 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.847, allocations: 0 / 0.7719 GB, free: 3.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/0.8517, allocations: 1.437 MB / 0.7733 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.853, allocations: 66.8 kB / 0.7734 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006508/0.8595, allocations: 1.619 MB / 0.775 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.8609, allocations: 1.122 MB / 0.7761 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/0.8609, allocations: 3.938 kB / 0.7761 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.05378/0.9147, allocations: 28.35 MB / 0.8038 GB, free: 3.066 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_AVR.pipe 2>&1)