Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009141/0.0009141, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.117/1.117, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001482/0.001482, allocations: 117.8 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002656, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.06981, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.283, allocations: 76.21 MB / 431.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.2832, allocations: 73.59 kB / 431.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07085/0.354, allocations: 32.26 MB / 463.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3541, allocations: 4 kB / 463.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.3542, allocations: 48 kB / 463.7 MB, free: 15.62 MB / 346.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.004623/0.3588, allocations: 2.463 MB / 466.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3588, allocations: 8.031 kB / 466.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.3593, allocations: 257 kB / 466.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.3607, allocations: 0.954 MB / 467.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3608, allocations: 168.4 kB / 467.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.3611, allocations: 220 kB / 467.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003583/0.3647, allocations: 2.3 MB / 470 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.3648, allocations: 0 / 470 MB, free: 8.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.3649, allocations: 95.98 kB / 470.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.487e-05/0.365, allocations: 56 kB / 470.2 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/0.3679, allocations: 1.699 MB / 471.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.379, allocations: 8.703 MB / 480.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.3821, allocations: 2.083 MB / 482.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/0.3822, allocations: 18 kB / 482.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/0.3836, allocations: 0.9093 MB / 483.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=207): time 4.268e-06/0.3836, allocations: 0 / 483.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=207): time 0.01194/0.3956, allocations: 5.348 MB / 488.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3957, allocations: 85.39 kB / 489 MB, free: 5.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3968, allocations: 0.8422 MB / 489.8 MB, free: 4.613 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.3969, allocations: 65.7 kB / 489.9 MB, free: 4.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005354/0.3974, allocations: 0.8074 MB / 490.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005066/0.398, allocations: 0.6624 MB / 491.4 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.3981, allocations: 48 kB / 491.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3982, allocations: 390.6 kB / 491.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.3993, allocations: 0.6488 MB / 492.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4007, allocations: 1.183 MB / 493.6 MB, free: 0.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.4019, allocations: 0.7361 MB / 494.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/0.4019, allocations: 8 kB / 494.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005042/0.4069, allocations: 2.921 MB / 497.3 MB, free: 12.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.407, allocations: 16.98 kB / 497.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.407, allocations: 19.98 kB / 497.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003102/0.4101, allocations: 1.186 MB / 498.5 MB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.4111, allocations: 275.5 kB / 498.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.4324, allocations: 22.73 MB / 0.5093 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.4342, allocations: 269.7 kB / 0.5096 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.4345, allocations: 92 kB / 0.5096 GB, free: 2.629 MB / 394.7 MB 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 () * Number of clocked 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.001048/0.4355, allocations: 449.8 kB / 0.5101 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.4359, allocations: 162 kB / 0.5102 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.4363, allocations: 208.2 kB / 0.5104 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.4363, allocations: 20 kB / 0.5104 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-05/0.4363, allocations: 16 kB / 0.5105 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.464e-05/0.4364, allocations: 11.92 kB / 0.5105 GB, free: 1.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1395/0.5759, allocations: 1.885 MB / 0.5123 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/0.5759, allocations: 1.031 kB / 0.5123 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.5768, allocations: 135.6 kB / 0.5124 GB, free: 103.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/0.58, allocations: 1.156 MB / 0.5136 GB, free: 103.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/0.5802, allocations: 45.08 kB / 0.5136 GB, free: 103.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.5976, allocations: 22.73 MB / 0.5358 GB, free: 88.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5977, allocations: 3.953 kB / 0.5358 GB, free: 88.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005333/0.603, allocations: 3.472 MB / 0.5392 GB, free: 88.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.6037, allocations: 438.1 kB / 0.5396 GB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.6039, allocations: 40.97 kB / 0.5397 GB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.6047, allocations: 112.8 kB / 0.5398 GB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004794/0.6052, allocations: 210.6 kB / 0.54 GB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.6053, allocations: 50.69 kB / 0.54 GB, free: 88.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006333/0.606, allocations: 0.6184 MB / 0.5406 GB, free: 87.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.606, allocations: 3.469 kB / 0.5406 GB, free: 87.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001892/0.6079, allocations: 0.7543 MB / 0.5414 GB, free: 87.89 MB / 394.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 () * Number of clocked 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.0002138/0.6081, allocations: 169.1 kB / 0.5415 GB, free: 87.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00492/0.613, allocations: 3.918 MB / 0.5454 GB, free: 86.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.613, allocations: 3.438 kB / 0.5454 GB, free: 86.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003453/0.6165, allocations: 3.013 MB / 0.5483 GB, free: 84.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6179, allocations: 340.7 kB / 0.5486 GB, free: 84.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.6237, allocations: 5.221 MB / 0.5537 GB, free: 81.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009253/0.6247, allocations: 1.485 MB / 0.5552 GB, free: 80.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006062/0.6253, allocations: 140.1 kB / 0.5553 GB, free: 80.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.6255, allocations: 76.03 kB / 0.5554 GB, free: 80.4 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6255, allocations: 0 / 0.5554 GB, free: 80.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04702/0.6725, allocations: 31.33 MB / 0.586 GB, free: 69.17 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.pipe 2>&1)