Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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/Complex 3.2.1+maint.om/package.mo): time 0.00541/0.00541, allocations: 173.1 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.457/1.457, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001805/0.001805, allocations: 111.8 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07977/0.07979, allocations: 38.75 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2713/0.3512, allocations: 67.02 MB / 367.5 MB, free: 1.516 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3514, allocations: 68.66 kB / 367.6 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.01214/0.3635, allocations: 4.595 MB / 372.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.3636, allocations: 12 kB / 372.2 MB, free: 13.65 MB / 266.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.0007717/0.3644, allocations: 0.5206 MB / 372.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3644, allocations: 8.031 kB / 372.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.3645, allocations: 39.53 kB / 372.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.3649, allocations: 243 kB / 373 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.3649, allocations: 16 kB / 373 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.3649, allocations: 19.91 kB / 373 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000283/0.3652, allocations: 155.4 kB / 373.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.3656, allocations: 201.1 kB / 373.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3656, allocations: 7.922 kB / 373.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.3656, allocations: 0 / 373.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3657, allocations: 8 kB / 373.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3675, allocations: 0.973 MB / 374.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.3678, allocations: 112.6 kB / 374.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.3682, allocations: 211.5 kB / 374.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3682, allocations: 192 / 374.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.3683, allocations: 37.06 kB / 374.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.3683, allocations: 0 / 374.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=23): time 0.001215/0.3695, allocations: 0.6009 MB / 375.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3696, allocations: 55.41 kB / 375.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3697, allocations: 160.1 kB / 375.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3698, allocations: 25.7 kB / 375.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.194e-05/0.3699, allocations: 152.9 kB / 375.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.3699, allocations: 89.44 kB / 375.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.37, allocations: 0 / 375.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3701, allocations: 329 kB / 376.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.3702, allocations: 61.03 kB / 376.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.3703, allocations: 74.77 kB / 376.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3705, allocations: 72.52 kB / 376.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3705, allocations: 0 / 376.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004718/0.3709, allocations: 262.3 kB / 376.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.371, allocations: 7.938 kB / 376.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.371, allocations: 0 / 376.6 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.3712, allocations: 66.81 kB / 376.6 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.3714, allocations: 51.77 kB / 376.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.3731, allocations: 1.699 MB / 378.4 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3733, allocations: 4.062 kB / 378.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3733, allocations: 11.06 kB / 378.4 MB, free: 7.902 MB / 266.7 MB 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 9.046e-05/0.3734, allocations: 108.9 kB / 378.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.3735, allocations: 19.81 kB / 378.5 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.3735, allocations: 22.42 kB / 378.6 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3735, allocations: 4 kB / 378.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.3735, allocations: 0 / 378.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3735, allocations: 4 kB / 378.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.3743, allocations: 0.5972 MB / 379.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3743, allocations: 0 / 379.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.3745, allocations: 35.92 kB / 379.2 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.3748, allocations: 74.67 kB / 379.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3748, allocations: 0 / 379.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.3763, allocations: 1.693 MB / 381 MB, free: 5.496 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3763, allocations: 8 kB / 381 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004797/0.3768, allocations: 402.2 kB / 381.4 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.3769, allocations: 96.84 kB / 381.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3769, allocations: 0 / 381.5 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3771, allocations: 12 kB / 381.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.3771, allocations: 19.42 kB / 381.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3772, allocations: 4 kB / 381.5 MB, free: 5.016 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.953e-05/0.3773, allocations: 128.9 kB / 381.6 MB, free: 4.906 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.3777, allocations: 64 kB / 381.7 MB, free: 4.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.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.0001474/0.3778, allocations: 112.4 kB / 381.8 MB, free: 4.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.3783, allocations: 282.7 kB / 382.1 MB, free: 4.492 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3783, allocations: 3.938 kB / 382.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.3787, allocations: 207.1 kB / 382.3 MB, free: 4.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.379, allocations: 35.69 kB / 382.3 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.3801, allocations: 0.5939 MB / 382.9 MB, free: 3.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.3805, allocations: 0.779 MB / 383.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of SimCode: time 3e-07/0.3805, allocations: 0 / 383.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of Templates: time 0.006591/0.3871, allocations: 2.737 MB / 386.4 MB, free: 152 kB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)