Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC") [: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.9957/0.9957, allocations: 110.8 MB / 118 MB, free: 14.51 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002371/0.00237, allocations: 152 kB / 143.7 MB, free: 4.848 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.665e-06, allocations: 0 / 173.5 MB, free: 23.01 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06459/0.06462, allocations: 25.16 MB / 198.6 MB, free: 13.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.2351, allocations: 36.45 MB / 235.1 MB, free: 4.473 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.2354, allocations: 66.53 kB / 235.1 MB, free: 4.473 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.09465/0.3301, allocations: 31.9 MB / 267 MB, free: 6.871 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001707/0.3303, allocations: 47.36 kB / 267.1 MB, free: 6.828 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.007017/0.3373, allocations: 2.37 MB / 269.5 MB, free: 4.387 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3374, allocations: 11.64 kB / 269.5 MB, free: 4.379 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.3385, allocations: 249 kB / 269.7 MB, free: 4.133 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.3411, allocations: 0.9495 MB / 270.7 MB, free: 3.156 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.3412, allocations: 76 kB / 270.7 MB, free: 3.082 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006533/0.3419, allocations: 135.9 kB / 270.9 MB, free: 2.949 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004251/0.3462, allocations: 1.497 MB / 272.4 MB, free: 1.445 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.3507, allocations: 1.945 MB / 274.3 MB, free: 15.36 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.208e-05/0.3508, allocations: 3.938 kB / 274.3 MB, free: 15.35 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.351, allocations: 7.906 kB / 274.3 MB, free: 15.34 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.945e-05/0.351, allocations: 56 kB / 274.4 MB, free: 15.29 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01381/0.3649, allocations: 8.323 MB / 282.7 MB, free: 6.867 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3675, allocations: 1.572 MB / 284.3 MB, free: 5.305 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.3692, allocations: 0.9335 MB / 285.2 MB, free: 4.371 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3693, allocations: 21.94 kB / 285.2 MB, free: 4.348 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.3709, allocations: 0.7769 MB / 286 MB, free: 3.559 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 4.328e-06/0.3709, allocations: 0 / 286 MB, free: 3.559 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.004881/0.3758, allocations: 2.163 MB / 288.2 MB, free: 1.371 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3759, allocations: 92.28 kB / 288.3 MB, free: 1.273 MB / 202.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.3774, allocations: 0.7305 MB / 289 MB, free: 0.5273 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.3776, allocations: 29.7 kB / 289 MB, free: 0.4922 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.3783, allocations: 0.6854 MB / 289.7 MB, free: 15.8 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/0.379, allocations: 0.6417 MB / 290.3 MB, free: 15.15 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.3791, allocations: 0 / 290.3 MB, free: 15.15 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.3793, allocations: 386.6 kB / 290.7 MB, free: 14.77 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3804, allocations: 0.552 MB / 291.3 MB, free: 14.21 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3819, allocations: 1.08 MB / 292.4 MB, free: 12.89 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3832, allocations: 0.689 MB / 293 MB, free: 12.21 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.3832, allocations: 4 kB / 293 MB, free: 12.2 MB / 218.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005557/0.3888, allocations: 2.563 MB / 295.6 MB, free: 9.617 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3888, allocations: 8 kB / 295.6 MB, free: 9.609 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/0.3889, allocations: 19.98 kB / 295.6 MB, free: 9.59 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003235/0.3921, allocations: 1.1 MB / 296.7 MB, free: 8.453 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.3932, allocations: 283.5 kB / 297 MB, free: 8.176 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.4162, allocations: 21.01 MB / 318 MB, free: 1.801 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.4183, allocations: 229.9 kB / 318.2 MB, free: 1.574 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/0.4187, allocations: 92 kB / 318.3 MB, free: 1.484 MB / 234.7 MB Warning: Assuming fixed start value for the following 16 variables: R11.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R10.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R7.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Rp1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R3.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R2.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R1.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R9.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R8.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R5.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real R4.Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C7.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C4.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 C1.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: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008064/0.4195, allocations: 215.9 kB / 318.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.42, allocations: 158.1 kB / 318.7 MB, free: 1.113 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.4205, allocations: 171.6 kB / 318.9 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.4205, allocations: 20 kB / 318.9 MB, free: 0.918 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.86e-05/0.4206, allocations: 16.22 kB / 318.9 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.4206, allocations: 15.95 kB / 318.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0675/0.4881, allocations: 1.62 MB / 320.5 MB, free: 73.89 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.4882, allocations: 0 / 320.5 MB, free: 73.89 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009232/0.4892, allocations: 137.3 kB / 320.7 MB, free: 73.89 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003195/0.4924, allocations: 1.091 MB / 321.8 MB, free: 73.79 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/0.4927, allocations: 14.61 kB / 321.8 MB, free: 73.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.5106, allocations: 20.99 MB / 342.8 MB, free: 59.51 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5107, allocations: 3.438 kB / 342.8 MB, free: 59.51 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005634/0.5163, allocations: 3.179 MB / 345.9 MB, free: 59.16 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/0.5171, allocations: 423.1 kB / 346.4 MB, free: 58.99 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/0.5175, allocations: 3.312 kB / 346.4 MB, free: 58.99 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5186, allocations: 95.06 kB / 346.5 MB, free: 58.99 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/0.5189, allocations: 133.4 kB / 346.6 MB, free: 58.99 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.519, allocations: 50.94 kB / 346.6 MB, free: 58.99 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.000715/0.5197, allocations: 0.5167 MB / 347.2 MB, free: 58.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002199/0.5219, allocations: 0.6366 MB / 347.8 MB, free: 58.84 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002694/0.5222, allocations: 133.2 kB / 347.9 MB, free: 58.74 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.5269, allocations: 3.303 MB / 351.2 MB, free: 57.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5269, allocations: 0 / 351.2 MB, free: 57.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003297/0.5302, allocations: 2.489 MB / 353.7 MB, free: 56.18 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.532, allocations: 306.7 kB / 354 MB, free: 56.17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006492/0.5386, allocations: 3.466 MB / 357.5 MB, free: 54.7 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008871/0.5395, allocations: 1.474 MB / 359 MB, free: 53.94 MB / 234.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5395, allocations: 0 / 359 MB, free: 53.94 MB / 234.7 MB Notification: Performance of Templates: time 0.04477/0.5843, allocations: 31.24 MB / 390.2 MB, free: 38.75 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)