Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [: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.6813/0.6813, allocations: 110.7 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001706/0.001706, allocations: 156 kB / 143.7 MB, free: 4.883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.588e-06, allocations: 4 kB / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05924/0.05927, allocations: 25.17 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.1919, allocations: 34.26 MB / 232.9 MB, free: 4.449 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.1921, allocations: 61.53 kB / 232.9 MB, free: 4.449 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.01143/0.2036, allocations: 4.231 MB / 237.2 MB, free: 4.141 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.2037, allocations: 10.56 kB / 237.2 MB, free: 4.141 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008256/0.2045, allocations: 0.5207 MB / 237.7 MB, free: 3.727 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2045, allocations: 11.5 kB / 237.7 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2047, allocations: 34.75 kB / 237.7 MB, free: 3.707 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.205, allocations: 248.5 kB / 238 MB, free: 3.484 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.2051, allocations: 11.75 kB / 238 MB, free: 3.48 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.907e-05/0.2051, allocations: 23.25 kB / 238 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003034/0.2054, allocations: 154.5 kB / 238.2 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2058, allocations: 190.5 kB / 238.4 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2058, allocations: 3.688 kB / 238.4 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.2058, allocations: 1.359 kB / 238.4 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2058, allocations: 3.875 kB / 238.4 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.2074, allocations: 0.9723 MB / 239.3 MB, free: 2.984 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.2076, allocations: 107.9 kB / 239.4 MB, free: 2.969 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.208, allocations: 215.5 kB / 239.7 MB, free: 2.949 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.208, allocations: 192 / 239.7 MB, free: 2.949 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.208, allocations: 43.09 kB / 239.7 MB, free: 2.902 MB / 170.7 MB Notification: Performance of pre-optimization done (n=21): time 1.382e-06/0.208, allocations: 0 / 239.7 MB, free: 2.902 MB / 170.7 MB Notification: Performance of matching and sorting (n=23): time 0.001046/0.2091, allocations: 0.5964 MB / 240.3 MB, free: 2.574 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.2091, allocations: 51.41 kB / 240.3 MB, free: 2.512 MB / 170.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:138:5-138:53:writable] Warning: Parameter V.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 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.0002005/0.2093, allocations: 165.4 kB / 240.5 MB, free: 2.41 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2094, allocations: 25.7 kB / 240.5 MB, free: 2.379 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.2094, allocations: 165.1 kB / 240.7 MB, free: 2.25 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.003e-05/0.2095, allocations: 77.67 kB / 240.8 MB, free: 2.199 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.2095, allocations: 3.938 kB / 240.8 MB, free: 2.195 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.2096, allocations: 329.5 kB / 241.1 MB, free: 1.883 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.2097, allocations: 55.31 kB / 241.2 MB, free: 1.879 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.2098, allocations: 70.02 kB / 241.2 MB, free: 1.863 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.2099, allocations: 65.61 kB / 241.3 MB, free: 1.859 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2099, allocations: 0 / 241.3 MB, free: 1.859 MB / 170.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003871/0.2103, allocations: 260.8 kB / 241.5 MB, free: 1.793 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2103, allocations: 9.781 kB / 241.5 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2103, allocations: 0.5156 kB / 241.5 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.2105, allocations: 63.72 kB / 241.6 MB, free: 1.785 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2107, allocations: 57.81 kB / 241.7 MB, free: 1.777 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.2121, allocations: 1.693 MB / 243.4 MB, free: 484 kB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2123, allocations: 0.6562 kB / 243.4 MB, free: 484 kB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2123, allocations: 12.42 kB / 243.4 MB, free: 480 kB / 170.7 MB Warning: Assuming fixed start value for the following 5 variables: L2.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real L1.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real C5.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C3.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.2124, allocations: 115.6 kB / 243.5 MB, free: 360 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2125, allocations: 20.05 kB / 243.5 MB, free: 348 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.114e-05/0.2125, allocations: 25.59 kB / 243.5 MB, free: 344 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2125, allocations: 7.875 kB / 243.5 MB, free: 340 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2125, allocations: 0.5156 kB / 243.5 MB, free: 340 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2126, allocations: 1.312 kB / 243.5 MB, free: 340 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/0.2133, allocations: 0.5921 MB / 244.1 MB, free: 40 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2134, allocations: 0.9844 kB / 244.1 MB, free: 40 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.2136, allocations: 40.56 kB / 244.2 MB, free: 36 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.2138, allocations: 71.72 kB / 244.2 MB, free: 20 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.2138, allocations: 4.609 kB / 244.2 MB, free: 20 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.2154, allocations: 1.691 MB / 245.9 MB, free: 14.71 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2154, allocations: 0 / 245.9 MB, free: 14.71 MB / 186.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005063/0.2159, allocations: 429.6 kB / 246.4 MB, free: 14.52 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.216, allocations: 90.7 kB / 246.4 MB, free: 14.42 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.2161, allocations: 3.906 kB / 246.5 MB, free: 14.42 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2163, allocations: 14.36 kB / 246.5 MB, free: 14.41 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2164, allocations: 17.12 kB / 246.5 MB, free: 14.41 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.2164, allocations: 8.891 kB / 246.5 MB, free: 14.41 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.916e-05/0.2165, allocations: 136 kB / 246.6 MB, free: 14.33 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004028/0.2169, allocations: 61.75 kB / 246.7 MB, free: 14.33 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (C2.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001526/0.2171, allocations: 100.1 kB / 246.8 MB, free: 14.24 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004659/0.2175, allocations: 275.1 kB / 247 MB, free: 14.13 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2175, allocations: 3.938 kB / 247.1 MB, free: 14.13 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.2179, allocations: 214.7 kB / 247.3 MB, free: 14.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2182, allocations: 38.67 kB / 247.3 MB, free: 14.01 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2193, allocations: 0.6005 MB / 247.9 MB, free: 13.64 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.2197, allocations: 0.7855 MB / 248.7 MB, free: 12.93 MB / 186.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2197, allocations: 0 / 248.7 MB, free: 12.93 MB / 186.7 MB Notification: Performance of Templates: time 0.006342/0.2261, allocations: 2.8 MB / 251.5 MB, free: 11.69 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)