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.9358/0.9358, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00199/0.00199, allocations: 143.5 kB / 149.1 MB, free: 1 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.051e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.0696, allocations: 25.17 MB / 205.4 MB, free: 8.445 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07268/0.1423, allocations: 37.18 MB / 242.6 MB, free: 3.199 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.1428, allocations: 71.95 kB / 242.6 MB, free: 3.129 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/0.4095, allocations: 32.23 MB / 274.9 MB, free: 20.46 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4096, allocations: 3.938 kB / 274.9 MB, free: 20.45 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.797e-05/0.4097, allocations: 44 kB / 274.9 MB, free: 20.41 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.005877/0.4156, allocations: 2.286 MB / 277.2 MB, free: 18.05 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4156, allocations: 11.97 kB / 277.2 MB, free: 18.04 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.4162, allocations: 256.9 kB / 277.5 MB, free: 17.78 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.418, allocations: 0.9386 MB / 278.4 MB, free: 16.8 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.4182, allocations: 168.4 kB / 278.6 MB, free: 16.63 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/0.4186, allocations: 223.9 kB / 278.8 MB, free: 16.41 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004966/0.4235, allocations: 2.254 MB / 281 MB, free: 14 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.4236, allocations: 0 / 281 MB, free: 14 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.4239, allocations: 95.98 kB / 281.1 MB, free: 13.91 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.424, allocations: 52 kB / 281.2 MB, free: 13.86 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004212/0.4282, allocations: 1.656 MB / 282.8 MB, free: 12.19 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01647/0.4447, allocations: 8.692 MB / 291.5 MB, free: 3.281 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00372/0.4484, allocations: 2.056 MB / 293.6 MB, free: 1.211 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/0.4504, allocations: 1.001 MB / 294.6 MB, free: 220 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.4506, allocations: 22 kB / 294.6 MB, free: 200 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.4529, allocations: 0.8901 MB / 295.5 MB, free: 15.29 MB / 202.7 MB Notification: Performance of pre-optimization done (n=207): time 6.222e-06/0.4529, allocations: 4 kB / 295.5 MB, free: 15.28 MB / 202.7 MB Notification: Performance of matching and sorting (n=207): time 0.00755/0.4605, allocations: 2.383 MB / 297.9 MB, free: 12.85 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.4606, allocations: 89.27 kB / 298 MB, free: 12.76 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.001869/0.4625, allocations: 0.8355 MB / 298.8 MB, free: 11.91 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/0.4628, allocations: 65.7 kB / 298.9 MB, free: 11.84 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008521/0.4637, allocations: 0.8114 MB / 299.7 MB, free: 11.01 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008987/0.4646, allocations: 0.6546 MB / 300.3 MB, free: 10.35 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.4648, allocations: 48 kB / 300.4 MB, free: 10.3 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.465, allocations: 394.5 kB / 300.8 MB, free: 9.91 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.4668, allocations: 0.5904 MB / 301.4 MB, free: 9.316 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/0.4689, allocations: 1.132 MB / 302.5 MB, free: 7.949 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.4709, allocations: 0.7398 MB / 303.2 MB, free: 7.215 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.4709, allocations: 8 kB / 303.2 MB, free: 7.207 MB / 202.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.008664/0.4796, allocations: 2.863 MB / 306.1 MB, free: 4.297 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.4797, allocations: 15.95 kB / 306.1 MB, free: 4.281 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.548e-05/0.4798, allocations: 16 kB / 306.1 MB, free: 4.266 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.4848, allocations: 1.162 MB / 307.3 MB, free: 3.07 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/0.4865, allocations: 287.4 kB / 307.6 MB, free: 2.789 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03384/0.5203, allocations: 22.23 MB / 329.8 MB, free: 10.95 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002753/0.5231, allocations: 277.8 kB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003083/0.5235, allocations: 88 kB / 330.2 MB, free: 10.59 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.0006573/0.5241, allocations: 294.3 kB / 330.5 MB, free: 10.3 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.5245, allocations: 162 kB / 330.6 MB, free: 10.14 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.5252, allocations: 200.2 kB / 330.8 MB, free: 9.93 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.5252, allocations: 20 kB / 330.8 MB, free: 9.91 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.751e-05/0.5253, allocations: 19.98 kB / 330.9 MB, free: 9.891 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.5253, allocations: 7.969 kB / 330.9 MB, free: 9.883 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.5291, allocations: 1.9 MB / 332.8 MB, free: 7.938 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/0.5292, allocations: 0 / 332.8 MB, free: 7.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.5304, allocations: 139.8 kB / 332.9 MB, free: 7.801 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00521/0.5356, allocations: 1.138 MB / 334 MB, free: 6.625 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002903/0.5359, allocations: 39.98 kB / 334.1 MB, free: 6.586 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.15/0.6859, allocations: 22.24 MB / 356.3 MB, free: 47.18 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.686, allocations: 0.5938 kB / 356.3 MB, free: 47.18 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005711/0.6917, allocations: 3.414 MB / 359.7 MB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/0.6926, allocations: 429.6 kB / 360.2 MB, free: 46.71 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.6928, allocations: 48.45 kB / 360.2 MB, free: 46.71 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009125/0.6937, allocations: 107.2 kB / 360.3 MB, free: 46.71 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/0.6943, allocations: 220.3 kB / 360.5 MB, free: 46.71 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.6944, allocations: 50.73 kB / 360.6 MB, free: 46.71 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007228/0.6951, allocations: 0.6081 MB / 361.2 MB, free: 46.59 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6951, allocations: 0 / 361.2 MB, free: 46.59 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002265/0.6974, allocations: 0.7519 MB / 361.9 MB, free: 46.55 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.0003174/0.6977, allocations: 167.7 kB / 362.1 MB, free: 46.46 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.006095/0.7038, allocations: 3.814 MB / 365.9 MB, free: 44.87 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7039, allocations: 0 / 365.9 MB, free: 44.87 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00377/0.7077, allocations: 2.932 MB / 368.8 MB, free: 42.83 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.71, allocations: 435.3 kB / 369.3 MB, free: 42.73 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.7154, allocations: 3.535 MB / 372.8 MB, free: 41.04 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009013/0.7163, allocations: 1.479 MB / 374.3 MB, free: 40.29 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0007239/0.7171, allocations: 139.6 kB / 374.4 MB, free: 40.25 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.7172, allocations: 78.16 kB / 374.5 MB, free: 40.23 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7172, allocations: 0 / 374.5 MB, free: 40.23 MB / 234.7 MB Notification: Performance of Templates: time 0.04659/0.7638, allocations: 32.01 MB / 406.5 MB, free: 16.7 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)