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.0009357/0.0009356, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.279/1.279, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00175/0.00175, allocations: 123.8 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08143, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3515, allocations: 75.46 MB / 418 MB, free: 20.41 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.3518, allocations: 67.09 kB / 418.1 MB, free: 20.38 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07686/0.4286, allocations: 31.99 MB / 450.1 MB, free: 10.14 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4287, allocations: 0 / 450.1 MB, free: 10.14 MB / 331.1 MB Notification: Performance of Transformations before backend: time 0.0001916/0.4289, allocations: 48 kB / 450.1 MB, free: 10.1 MB / 331.1 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.007699/0.4366, allocations: 2.282 MB / 452.4 MB, free: 7.883 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.4367, allocations: 12.03 kB / 452.4 MB, free: 7.871 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.4379, allocations: 250.7 kB / 452.7 MB, free: 7.625 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002615/0.4405, allocations: 0.9473 MB / 453.6 MB, free: 6.891 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.4406, allocations: 75.98 kB / 453.7 MB, free: 6.816 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007183/0.4414, allocations: 135.5 kB / 453.8 MB, free: 6.688 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004293/0.4457, allocations: 1.497 MB / 455.3 MB, free: 5.836 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/0.4501, allocations: 1.944 MB / 457.3 MB, free: 4.352 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.4502, allocations: 7.938 kB / 457.3 MB, free: 4.344 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/0.4503, allocations: 4 kB / 457.3 MB, free: 4.34 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.4504, allocations: 52 kB / 457.3 MB, free: 4.289 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.4622, allocations: 8.331 MB / 465.7 MB, free: 11.99 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.4651, allocations: 1.965 MB / 467.6 MB, free: 10.02 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.4664, allocations: 0.9518 MB / 468.6 MB, free: 9.066 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.4665, allocations: 25.98 kB / 468.6 MB, free: 9.039 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.4679, allocations: 0.8198 MB / 469.4 MB, free: 8.207 MB / 347.1 MB Notification: Performance of pre-optimization done (n=207): time 4.508e-06/0.4679, allocations: 0 / 469.4 MB, free: 8.207 MB / 347.1 MB Notification: Performance of matching and sorting (n=207): time 0.004353/0.4723, allocations: 2.227 MB / 471.7 MB, free: 5.934 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4724, allocations: 77.41 kB / 471.7 MB, free: 5.848 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.4734, allocations: 0.7216 MB / 472.4 MB, free: 5.109 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4735, allocations: 29.7 kB / 472.5 MB, free: 5.074 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/0.4743, allocations: 0.8229 MB / 473.3 MB, free: 4.238 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/0.4748, allocations: 0.639 MB / 473.9 MB, free: 3.59 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.314e-05/0.4749, allocations: 0 / 473.9 MB, free: 3.59 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4751, allocations: 390.6 kB / 474.3 MB, free: 3.203 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009345/0.476, allocations: 0.5717 MB / 474.9 MB, free: 2.629 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.4773, allocations: 1.108 MB / 476 MB, free: 1.285 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.4784, allocations: 0.6656 MB / 476.7 MB, free: 0.625 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.4784, allocations: 4 kB / 476.7 MB, free: 0.6211 MB / 347.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.004873/0.4833, allocations: 2.59 MB / 479.3 MB, free: 13.98 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.4833, allocations: 12 kB / 479.3 MB, free: 13.97 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4834, allocations: 16 kB / 479.3 MB, free: 13.96 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003042/0.4864, allocations: 1.112 MB / 480.4 MB, free: 12.81 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/0.4873, allocations: 275.5 kB / 480.7 MB, free: 12.54 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0217/0.509, allocations: 21.43 MB / 0.4903 GB, free: 5.738 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.5111, allocations: 214 kB / 0.4905 GB, free: 5.527 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/0.5114, allocations: 88 kB / 0.4906 GB, free: 5.441 MB / 379.1 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.0003894/0.5118, allocations: 186.7 kB / 0.4908 GB, free: 5.254 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.512, allocations: 150.1 kB / 0.4909 GB, free: 5.105 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.5125, allocations: 179.6 kB / 0.4911 GB, free: 4.922 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.5125, allocations: 21.12 kB / 0.4911 GB, free: 4.902 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-05/0.5126, allocations: 16 kB / 0.4912 GB, free: 4.887 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.5126, allocations: 11.92 kB / 0.4912 GB, free: 4.875 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.5151, allocations: 1.618 MB / 0.4927 GB, free: 3.223 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5151, allocations: 0 / 0.4927 GB, free: 3.223 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.5158, allocations: 139.8 kB / 0.4929 GB, free: 3.086 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/0.5188, allocations: 1.076 MB / 0.4939 GB, free: 1.973 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.5189, allocations: 13.11 kB / 0.4939 GB, free: 1.961 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2284/0.7473, allocations: 21.43 MB / 0.5149 GB, free: 91.2 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7474, allocations: 0 / 0.5149 GB, free: 91.2 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/0.7528, allocations: 3.221 MB / 0.518 GB, free: 90.99 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/0.7535, allocations: 417.8 kB / 0.5184 GB, free: 90.89 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001989/0.7537, allocations: 6.469 kB / 0.5184 GB, free: 90.89 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008933/0.7546, allocations: 77.89 kB / 0.5185 GB, free: 90.89 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004712/0.7551, allocations: 216.2 kB / 0.5187 GB, free: 90.89 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.7552, allocations: 55.61 kB / 0.5187 GB, free: 90.89 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0005644/0.7558, allocations: 0.5077 MB / 0.5192 GB, free: 90.78 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7558, allocations: 0 / 0.5192 GB, free: 90.78 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001989/0.7578, allocations: 0.6685 MB / 0.5199 GB, free: 90.78 MB / 395.1 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.0002646/0.7581, allocations: 131.2 kB / 0.52 GB, free: 90.69 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.7625, allocations: 3.582 MB / 0.5235 GB, free: 89.29 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7625, allocations: 0.75 kB / 0.5235 GB, free: 89.29 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.7659, allocations: 2.764 MB / 0.5262 GB, free: 87.9 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.7676, allocations: 270.6 kB / 0.5265 GB, free: 87.89 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.7735, allocations: 3.491 MB / 0.5299 GB, free: 86.77 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.7746, allocations: 1.478 MB / 0.5313 GB, free: 86.01 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0007886/0.7754, allocations: 126.6 kB / 0.5314 GB, free: 85.98 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.7756, allocations: 65.41 kB / 0.5315 GB, free: 85.98 MB / 395.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7756, allocations: 4 kB / 0.5315 GB, free: 85.97 MB / 395.1 MB Notification: Performance of Templates: time 0.04905/0.8247, allocations: 28.6 MB / 0.5594 GB, free: 84.14 MB / 395.1 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)