Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.6556/0.6556, allocations: 110.8 MB / 118 MB, free: 14.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001731/0.001731, allocations: 156 kB / 143.7 MB, free: 4.859 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.813e-06/6.843e-06, allocations: 4 kB / 173.5 MB, free: 23.03 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03955/0.03957, allocations: 25.17 MB / 198.6 MB, free: 13.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.1623, allocations: 34.71 MB / 233.3 MB, free: 4.668 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001326/0.1625, allocations: 64.45 kB / 233.4 MB, free: 4.668 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01136/0.1739, allocations: 4.617 MB / 238 MB, free: 4.316 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.1739, allocations: 8.312 kB / 238 MB, free: 4.316 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007291/0.1747, allocations: 0.5763 MB / 238.6 MB, free: 3.883 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1747, allocations: 6.75 kB / 238.6 MB, free: 3.883 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1748, allocations: 42.69 kB / 238.6 MB, free: 3.859 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1751, allocations: 261.4 kB / 238.9 MB, free: 3.641 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1751, allocations: 15.73 kB / 238.9 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1752, allocations: 15.25 kB / 238.9 MB, free: 3.633 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002878/0.1755, allocations: 170 kB / 239.1 MB, free: 3.629 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.1758, allocations: 191.9 kB / 239.3 MB, free: 3.594 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1758, allocations: 0 / 239.3 MB, free: 3.594 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.1758, allocations: 0 / 239.3 MB, free: 3.594 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1759, allocations: 7.469 kB / 239.3 MB, free: 3.594 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1775, allocations: 0.9349 MB / 240.2 MB, free: 3.184 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1778, allocations: 169.1 kB / 240.4 MB, free: 3.152 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.1779, allocations: 97.92 kB / 240.5 MB, free: 3.145 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.178, allocations: 4.062 kB / 240.5 MB, free: 3.145 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.178, allocations: 46.64 kB / 240.5 MB, free: 3.098 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.178, allocations: 0 / 240.5 MB, free: 3.098 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004479/0.1785, allocations: 212 kB / 240.7 MB, free: 3.035 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.1785, allocations: 63.09 kB / 240.8 MB, free: 2.965 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Blocks/Sources.mo:442:9-443:26:writable] Warning: Parameter Ramp1.duration has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:359:5-359:61:writable] Warning: Parameter SineVoltage1.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R5.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R4.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R3.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R2.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Basic.mo:68:3-69:40:writable] Warning: Parameter R1.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1787, allocations: 213 kB / 241 MB, free: 2.863 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1788, allocations: 26.31 kB / 241 MB, free: 2.832 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.898e-05/0.1788, allocations: 174.4 kB / 241.2 MB, free: 2.699 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1789, allocations: 69.36 kB / 241.3 MB, free: 2.652 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.1789, allocations: 0 / 241.3 MB, free: 2.652 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.591e-05/0.179, allocations: 326.7 kB / 241.6 MB, free: 2.34 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-05/0.1791, allocations: 56.69 kB / 241.7 MB, free: 2.336 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1792, allocations: 83.64 kB / 241.7 MB, free: 2.312 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1793, allocations: 67.36 kB / 241.8 MB, free: 2.305 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1793, allocations: 0 / 241.8 MB, free: 2.305 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003978/0.1797, allocations: 253.3 kB / 242 MB, free: 2.234 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1797, allocations: 7.594 kB / 242.1 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1797, allocations: 0 / 242.1 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.18, allocations: 80.39 kB / 242.1 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1802, allocations: 42.09 kB / 242.2 MB, free: 2.211 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.1819, allocations: 2.7 MB / 244.9 MB, free: 15.77 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1821, allocations: 26.59 kB / 244.9 MB, free: 15.76 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1821, allocations: 8.312 kB / 244.9 MB, free: 15.76 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/0.1822, allocations: 105.7 kB / 245 MB, free: 15.65 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1823, allocations: 27.41 kB / 245 MB, free: 15.64 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.1823, allocations: 26.02 kB / 245.1 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1823, allocations: 8.391 kB / 245.1 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1824, allocations: 0 / 245.1 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1824, allocations: 5.297 kB / 245.1 MB, free: 15.63 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007882/0.1832, allocations: 0.5634 MB / 245.6 MB, free: 15.34 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1832, allocations: 8.891 kB / 245.7 MB, free: 15.34 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1833, allocations: 32.48 kB / 245.7 MB, free: 15.33 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.1835, allocations: 68.81 kB / 245.7 MB, free: 15.32 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1835, allocations: 4.562 kB / 245.8 MB, free: 15.31 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.1856, allocations: 2.693 MB / 248.4 MB, free: 12.89 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1856, allocations: 3.906 kB / 248.5 MB, free: 12.89 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004091/0.186, allocations: 323 kB / 248.8 MB, free: 12.71 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1861, allocations: 121.4 kB / 248.9 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.1862, allocations: 0.5156 kB / 248.9 MB, free: 12.61 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.1864, allocations: 37.83 kB / 248.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/0.1865, allocations: 13.25 kB / 248.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1865, allocations: 5.062 kB / 248.9 MB, free: 12.6 MB / 186.7 MB Notification: Performance of sort global known variables: time 0.0001287/0.1867, allocations: 160.6 kB / 249.1 MB, free: 12.52 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.187, allocations: 85.12 kB / 249.2 MB, free: 12.51 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001266/0.1871, allocations: 104 kB / 249.3 MB, free: 12.42 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004898/0.1876, allocations: 370.6 kB / 249.6 MB, free: 12.21 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1876, allocations: 0 / 249.6 MB, free: 12.21 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.188, allocations: 295.8 kB / 249.9 MB, free: 12 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.1884, allocations: 60.73 kB / 250 MB, free: 11.99 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.1891, allocations: 310.1 kB / 250.3 MB, free: 11.83 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.1894, allocations: 0.7922 MB / 251.1 MB, free: 11.08 MB / 186.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1895, allocations: 0 / 251.1 MB, free: 11.08 MB / 186.7 MB Notification: Performance of Templates: time 0.006514/0.196, allocations: 3.324 MB / 254.4 MB, free: 9.434 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1)