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.001454/0.001454, allocations: 182 kB / 13.64 MB, free: 1.676 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.48/1.48, allocations: 194.3 MB / 208.4 MB, free: 6.738 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.001716/0.001716, allocations: 120.7 kB / 253.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.684e-05, allocations: 0 / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08471, allocations: 44.51 MB / 349.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4258, allocations: 76.13 MB / 425.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4261, allocations: 69.16 kB / 425.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07084/0.4969, allocations: 32.36 MB / 458 MB, free: 8.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.497, allocations: 1.312 kB / 458 MB, free: 8.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.4971, allocations: 50.81 kB / 458 MB, free: 7.988 MB / 314.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.005376/0.5025, allocations: 2.281 MB / 460.3 MB, free: 5.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5025, allocations: 8.031 kB / 460.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/0.5033, allocations: 253 kB / 460.6 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.5049, allocations: 0.9509 MB / 461.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.505, allocations: 167.2 kB / 461.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.5053, allocations: 223.7 kB / 461.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/0.509, allocations: 2.257 MB / 464.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.509, allocations: 7.938 kB / 464.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.5092, allocations: 90.12 kB / 464.3 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.5093, allocations: 56 kB / 464.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.5121, allocations: 1.645 MB / 466 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/0.524, allocations: 8.697 MB / 474.7 MB, free: 9.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.5272, allocations: 2.04 MB / 476.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.5286, allocations: 1.016 MB / 477.7 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.5287, allocations: 18 kB / 477.7 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.5302, allocations: 0.8938 MB / 478.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 4.078e-06/0.5302, allocations: 0 / 478.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.004573/0.5348, allocations: 2.39 MB / 481 MB, free: 2.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.5349, allocations: 85.34 kB / 481.1 MB, free: 2.516 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.536, allocations: 0.8316 MB / 481.9 MB, free: 1.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.5361, allocations: 65.7 kB / 482 MB, free: 1.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.5367, allocations: 0.8113 MB / 482.8 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.5373, allocations: 0.6624 MB / 483.5 MB, free: 104 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.5374, allocations: 48 kB / 483.5 MB, free: 56 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.5376, allocations: 390.7 kB / 483.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.5387, allocations: 0.6217 MB / 484.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.5401, allocations: 1.156 MB / 485.7 MB, free: 13.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.5413, allocations: 0.7242 MB / 486.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/0.5413, allocations: 11.95 kB / 486.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.005099/0.5464, allocations: 2.867 MB / 489.3 MB, free: 10 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5464, allocations: 12 kB / 489.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.5465, allocations: 19.98 kB / 489.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.5496, allocations: 1.159 MB / 490.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/0.5506, allocations: 283.5 kB / 490.8 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.5728, allocations: 22.25 MB / 0.501 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.5752, allocations: 265.8 kB / 0.5012 GB, free: 396 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/0.5754, allocations: 96 kB / 0.5013 GB, free: 300 kB / 362.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 () * 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.0005387/0.576, allocations: 261.8 kB / 0.5016 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000369/0.5764, allocations: 158.2 kB / 0.5017 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.577, allocations: 204.2 kB / 0.5019 GB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.577, allocations: 23.78 kB / 0.5019 GB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001213/0.5771, allocations: 16 kB / 0.502 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.5771, allocations: 11.97 kB / 0.502 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/0.5805, allocations: 1.892 MB / 0.5038 GB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.5805, allocations: 4 kB / 0.5038 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.5813, allocations: 135.8 kB / 0.5039 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.5845, allocations: 1.138 MB / 0.5051 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.5846, allocations: 43.98 kB / 0.5051 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/0.6081, allocations: 22.24 MB / 0.5268 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6081, allocations: 112 / 0.5268 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006423/0.6146, allocations: 3.417 MB / 0.5302 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009565/0.6156, allocations: 426.7 kB / 0.5306 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.6158, allocations: 40 kB / 0.5306 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008834/0.6167, allocations: 111.9 kB / 0.5307 GB, free: 420 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/0.6173, allocations: 213.6 kB / 0.5309 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-05/0.6174, allocations: 51.98 kB / 0.531 GB, free: 152 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008952/0.6183, allocations: 0.6034 MB / 0.5316 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6183, allocations: 0 / 0.5316 GB, free: 15.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002578/0.6209, allocations: 0.7641 MB / 0.5323 GB, free: 14.77 MB / 410.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.0003844/0.6213, allocations: 163.6 kB / 0.5325 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006731/0.628, allocations: 3.814 MB / 0.5362 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6281, allocations: 128 / 0.5362 GB, free: 10.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004858/0.6329, allocations: 2.933 MB / 0.539 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.635, allocations: 352.5 kB / 0.5394 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/0.6419, allocations: 3.588 MB / 0.5429 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.6434, allocations: 1.477 MB / 0.5443 GB, free: 2.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006955/0.6441, allocations: 134.3 kB / 0.5445 GB, free: 1.926 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.6443, allocations: 75.42 kB / 0.5445 GB, free: 1.852 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6443, allocations: 0 / 0.5445 GB, free: 1.852 MB / 410.7 MB Notification: Performance of Templates: time 0.2935/0.9378, allocations: 31.32 MB / 0.5751 GB, free: 113 MB / 410.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)