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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8021/0.8021, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00163/0.00163, allocations: 151.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.784e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06048/0.06051, allocations: 25.17 MB / 199 MB, free: 2.66 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.2162, allocations: 36.52 MB / 235.6 MB, free: 3.453 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.2165, allocations: 62.55 kB / 235.6 MB, free: 3.395 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07744/0.2939, allocations: 31.87 MB / 267.5 MB, free: 3.59 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.294, allocations: 0 / 267.5 MB, free: 3.59 MB / 202.7 MB Notification: Performance of Transformations before backend: time 9.417e-05/0.2941, allocations: 47.98 kB / 267.5 MB, free: 3.543 MB / 202.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.004527/0.2986, allocations: 2.27 MB / 269.8 MB, free: 1.195 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2987, allocations: 12.03 kB / 269.8 MB, free: 1.184 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.2991, allocations: 256.9 kB / 270.1 MB, free: 0.9297 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3004, allocations: 0.9387 MB / 271 MB, free: 15.94 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.3005, allocations: 76.55 kB / 271.1 MB, free: 15.87 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.3008, allocations: 135.9 kB / 271.2 MB, free: 15.73 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002497/0.3033, allocations: 1.497 MB / 272.7 MB, free: 14.23 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.3064, allocations: 1.945 MB / 274.6 MB, free: 12.14 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.3065, allocations: 3.938 kB / 274.7 MB, free: 12.14 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.3066, allocations: 4.547 kB / 274.7 MB, free: 12.13 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.3067, allocations: 61.45 kB / 274.7 MB, free: 12.07 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.3174, allocations: 8.329 MB / 283 MB, free: 3.555 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.3201, allocations: 1.953 MB / 285 MB, free: 1.598 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3215, allocations: 0.9568 MB / 286 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.833e-05/0.3216, allocations: 22 kB / 286 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1146/0.4362, allocations: 0.8234 MB / 286.8 MB, free: 44.66 MB / 218.7 MB Notification: Performance of pre-optimization done (n=207): time 5.08e-06/0.4362, allocations: 0 / 286.8 MB, free: 44.66 MB / 218.7 MB Notification: Performance of matching and sorting (n=207): time 0.003932/0.4402, allocations: 2.213 MB / 289 MB, free: 44.44 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4403, allocations: 85.48 kB / 289.1 MB, free: 44.38 MB / 218.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.001123/0.4414, allocations: 0.7244 MB / 289.8 MB, free: 44.24 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/0.4415, allocations: 37.02 kB / 289.9 MB, free: 44.21 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004437/0.4419, allocations: 0.8165 MB / 290.7 MB, free: 43.89 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004153/0.4424, allocations: 0.6307 MB / 291.3 MB, free: 43.55 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.4424, allocations: 0.5625 kB / 291.3 MB, free: 43.55 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4426, allocations: 392.9 kB / 291.7 MB, free: 43.25 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008901/0.4435, allocations: 0.5499 MB / 292.2 MB, free: 43.24 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.4447, allocations: 1.082 MB / 293.3 MB, free: 42.64 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.4457, allocations: 0.6848 MB / 294 MB, free: 42.59 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.4457, allocations: 4.75 kB / 294 MB, free: 42.59 MB / 218.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.004577/0.4503, allocations: 2.593 MB / 296.6 MB, free: 42.29 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/0.4503, allocations: 10.84 kB / 296.6 MB, free: 42.29 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.4504, allocations: 20.41 kB / 296.6 MB, free: 42.29 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/0.4531, allocations: 1.102 MB / 297.7 MB, free: 42.18 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/0.454, allocations: 278.6 kB / 298 MB, free: 42.18 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.4713, allocations: 21.44 MB / 319.4 MB, free: 25.89 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.473, allocations: 217.1 kB / 319.7 MB, free: 25.79 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.4732, allocations: 89.28 kB / 319.7 MB, free: 25.77 MB / 218.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.0004151/0.4736, allocations: 215.2 kB / 320 MB, free: 25.61 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.4738, allocations: 154.1 kB / 320.1 MB, free: 25.54 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003896/0.4742, allocations: 171 kB / 320.3 MB, free: 25.4 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.4742, allocations: 23.16 kB / 320.3 MB, free: 25.4 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.446e-05/0.4743, allocations: 20.17 kB / 320.3 MB, free: 25.4 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.4743, allocations: 13.81 kB / 320.3 MB, free: 25.4 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.4764, allocations: 1.622 MB / 321.9 MB, free: 24.65 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4764, allocations: 0 / 321.9 MB, free: 24.65 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.477, allocations: 135.4 kB / 322.1 MB, free: 24.64 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/0.4795, allocations: 1.086 MB / 323.2 MB, free: 24.2 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.4796, allocations: 12.38 kB / 323.2 MB, free: 24.2 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0161/0.4957, allocations: 21.41 MB / 344.6 MB, free: 5.941 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4957, allocations: 3.938 kB / 344.6 MB, free: 5.938 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005194/0.5009, allocations: 3.213 MB / 347.8 MB, free: 4.418 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.5016, allocations: 418.8 kB / 348.2 MB, free: 4.117 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.5018, allocations: 7.75 kB / 348.2 MB, free: 4.113 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008095/0.5026, allocations: 84.91 kB / 348.3 MB, free: 4.105 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.5031, allocations: 216.4 kB / 348.5 MB, free: 4.066 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.5031, allocations: 49.23 kB / 348.6 MB, free: 4.055 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0005261/0.5037, allocations: 0.5116 MB / 349.1 MB, free: 3.797 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5037, allocations: 0 / 349.1 MB, free: 3.797 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.002078/0.5058, allocations: 0.654 MB / 349.7 MB, free: 3.715 MB / 218.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.0002175/0.506, allocations: 134.9 kB / 349.9 MB, free: 3.605 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.5104, allocations: 3.583 MB / 353.5 MB, free: 1.324 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5105, allocations: 0 / 353.5 MB, free: 1.324 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003791/0.5143, allocations: 2.774 MB / 356.2 MB, free: 14.99 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.5162, allocations: 322.5 kB / 356.5 MB, free: 14.75 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005748/0.5219, allocations: 3.42 MB / 360 MB, free: 11.67 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.5231, allocations: 1.482 MB / 361.4 MB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0006762/0.5237, allocations: 127.1 kB / 361.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.5239, allocations: 67.44 kB / 361.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5239, allocations: 4 kB / 361.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of Templates: time 0.1643/0.6882, allocations: 28.92 MB / 390.6 MB, free: 49.34 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)