Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 195.7 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.1 MB / 222.1 MB, free: 4.945 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 51.92 kB / 278.2 MB, free: 12.9 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3424, allocations: 46.63 MB / 324.8 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006518/0.349, allocations: 5.709 MB / 330.6 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.3525, allocations: 1.196 MB / 331.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.3532, allocations: 17.38 kB / 331.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004504/0.3538, allocations: 126.1 kB / 331.9 MB, free: 12.17 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007312/0.3545, allocations: 236.5 kB / 332.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.3551, allocations: 185.1 kB / 332.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3563, allocations: 1.058 MB / 333.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008501/0.3572, allocations: 0.5118 MB / 333.9 MB, free: 10.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.3578, allocations: 413.6 kB / 334.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.3583, allocations: 478.6 kB / 334.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3584, allocations: 96 kB / 334.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.3586, allocations: 107.9 kB / 334.9 MB, free: 9.984 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.3588, allocations: 219.2 kB / 335.2 MB, free: 9.77 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.3592, allocations: 0.5016 MB / 335.7 MB, free: 9.266 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3603, allocations: 1.095 MB / 336.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3604, allocations: 0 / 336.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3604, allocations: 0 / 336.8 MB, free: 8.168 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3604, allocations: 0 / 336.8 MB, free: 8.168 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001786/0.3622, allocations: 1.24 MB / 338 MB, free: 6.879 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.3622, allocations: 8.031 kB / 338 MB, free: 6.871 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3624, allocations: 107.7 kB / 338.1 MB, free: 6.766 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.363, allocations: 447.2 kB / 338.5 MB, free: 6.285 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.363, allocations: 70.36 kB / 338.6 MB, free: 6.215 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3632, allocations: 96.38 kB / 338.7 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3645, allocations: 0.8755 MB / 339.6 MB, free: 5.223 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3645, allocations: 0 / 339.6 MB, free: 5.223 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.3646, allocations: 40 kB / 339.6 MB, free: 5.184 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.725e-05/0.3646, allocations: 24 kB / 339.6 MB, free: 5.16 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.3656, allocations: 0.5699 MB / 340.2 MB, free: 4.586 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/0.3698, allocations: 2.976 MB / 343.2 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.3702, allocations: 302.3 kB / 343.5 MB, free: 1.188 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.3706, allocations: 268.7 kB / 343.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3706, allocations: 8 kB / 343.8 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3707, allocations: 42.56 kB / 343.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.383e-06/0.3707, allocations: 0 / 343.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001397/0.3721, allocations: 0.6471 MB / 344.4 MB, free: 192 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.3721, allocations: 55.41 kB / 344.5 MB, free: 124 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.3727, allocations: 0.5102 MB / 345 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.3727, allocations: 37.7 kB / 345 MB, free: 15.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.373, allocations: 493.5 kB / 345.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3732, allocations: 157.8 kB / 345.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.3733, allocations: 138.3 kB / 345.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3735, allocations: 366.8 kB / 346.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.3738, allocations: 169.9 kB / 346.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.3743, allocations: 457.6 kB / 346.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009226/0.3752, allocations: 0.644 MB / 347.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.3752, allocations: 7.938 kB / 347.4 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001117/0.3763, allocations: 0.7531 MB / 348.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3764, allocations: 8 kB / 348.2 MB, free: 12.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3764, allocations: 12 kB / 348.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.3767, allocations: 89.03 kB / 348.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.3773, allocations: 199.7 kB / 348.5 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.3795, allocations: 1.998 MB / 350.5 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.3801, allocations: 91.05 kB / 350.6 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.3801, allocations: 40 kB / 350.6 MB, free: 9.559 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.3804, allocations: 209.5 kB / 350.8 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/0.3805, allocations: 59.34 kB / 350.9 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3807, allocations: 69.56 kB / 351 MB, free: 9.211 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3807, allocations: 11.92 kB / 351 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.3807, allocations: 4 kB / 351 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3807, allocations: 0 / 351 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007599/0.3815, allocations: 0.6414 MB / 351.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3815, allocations: 0 / 351.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3819, allocations: 100.2 kB / 351.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.3821, allocations: 76.73 kB / 351.8 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.3821, allocations: 11.98 kB / 351.8 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.384, allocations: 1.975 MB / 353.8 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.384, allocations: 8.094 kB / 353.8 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009732/0.385, allocations: 0.658 MB / 354.4 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3851, allocations: 136.4 kB / 354.6 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.07e-05/0.3852, allocations: 8 kB / 354.6 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.3856, allocations: 47.97 kB / 354.6 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.3857, allocations: 27.95 kB / 354.6 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.3857, allocations: 8 kB / 354.7 MB, free: 5.277 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003748/0.3861, allocations: 350.9 kB / 355 MB, free: 4.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3861, allocations: 4 kB / 355 MB, free: 4.934 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008095/0.3869, allocations: 239.3 kB / 355.2 MB, free: 4.699 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.3871, allocations: 115.1 kB / 355.3 MB, free: 4.578 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3881, allocations: 0.6073 MB / 356 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3881, allocations: 2 kB / 356 MB, free: 3.953 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004511/0.3886, allocations: 322.4 kB / 356.3 MB, free: 3.625 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.3892, allocations: 122.2 kB / 356.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3917, allocations: 1.767 MB / 358.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.3922, allocations: 0.9299 MB / 359.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.3925, allocations: 73.2 kB / 359.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/0.3926, allocations: 39.44 kB / 359.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3926, allocations: 0 / 359.2 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of Templates: time 0.01274/0.4053, allocations: 7.142 MB / 366.3 MB, free: 9.496 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)