Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001321/0.00132, allocations: 112.9 kB / 16.92 MB, free: 5.809 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.001385/0.001386, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.742/1.742, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001769/0.00177, allocations: 59.92 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1418, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007525/0.1494, allocations: 5.707 MB / 332.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.1532, allocations: 1.197 MB / 333.5 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001418/0.1547, allocations: 16 kB / 333.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.1555, allocations: 174.3 kB / 333.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.157, allocations: 277.4 kB / 334 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.1578, allocations: 227.7 kB / 334.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.1594, allocations: 1.052 MB / 335.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.1602, allocations: 0.5103 MB / 335.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006597/0.1609, allocations: 418.6 kB / 336.2 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/0.1617, allocations: 469.9 kB / 336.6 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1618, allocations: 100 kB / 336.7 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.162, allocations: 96 kB / 336.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.1622, allocations: 227.2 kB / 337 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.1628, allocations: 0.5015 MB / 337.5 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.1639, allocations: 1.094 MB / 338.6 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1639, allocations: 0 / 338.6 MB, free: 8.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.164, allocations: 0 / 338.6 MB, free: 8.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.164, allocations: 0 / 338.6 MB, free: 8.371 MB / 286.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.002297/0.1663, allocations: 1.236 MB / 339.9 MB, free: 7.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.1664, allocations: 8.031 kB / 339.9 MB, free: 7.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.1666, allocations: 107.7 kB / 340 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007201/0.1673, allocations: 455.1 kB / 340.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.318e-05/0.1674, allocations: 78.38 kB / 340.5 MB, free: 6.406 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.1675, allocations: 92.28 kB / 340.6 MB, free: 6.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.169, allocations: 0.8716 MB / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.169, allocations: 0 / 341.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.1692, allocations: 40 kB / 341.5 MB, free: 5.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.1692, allocations: 24 kB / 341.5 MB, free: 5.359 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1702, allocations: 0.5739 MB / 342.1 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004966/0.1752, allocations: 2.96 MB / 345.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.1757, allocations: 306.2 kB / 345.4 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.1762, allocations: 272.6 kB / 345.6 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1762, allocations: 4 kB / 345.6 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.1763, allocations: 38.56 kB / 345.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.947e-06/0.1763, allocations: 0 / 345.7 MB, free: 1.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001626/0.1779, allocations: 0.655 MB / 346.3 MB, free: 396 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.178, allocations: 55.41 kB / 346.4 MB, free: 328 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.1786, allocations: 0.5141 MB / 346.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.1787, allocations: 33.7 kB / 346.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.1791, allocations: 489.6 kB / 347.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1792, allocations: 161.8 kB / 347.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.1794, allocations: 138.5 kB / 347.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1796, allocations: 362.8 kB / 348.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.1799, allocations: 173.9 kB / 348.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.1805, allocations: 453.6 kB / 348.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008194/0.1813, allocations: 0.6517 MB / 349.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1813, allocations: 0 / 349.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001332/0.1827, allocations: 0.7572 MB / 350.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1827, allocations: 12 kB / 350.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1827, allocations: 12.06 kB / 350.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.1831, allocations: 80.81 kB / 350.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006748/0.1838, allocations: 195.7 kB / 350.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.1859, allocations: 2.002 MB / 352.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.1865, allocations: 87.05 kB / 352.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.1866, allocations: 40 kB / 352.5 MB, free: 9.762 MB / 302.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.000328/0.1869, allocations: 217.8 kB / 352.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.187, allocations: 59.34 kB / 352.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1871, allocations: 65.5 kB / 352.8 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1872, allocations: 23.8 kB / 352.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1872, allocations: 0 / 352.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1872, allocations: 0 / 352.9 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000865/0.1881, allocations: 0.6414 MB / 353.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1881, allocations: 0 / 353.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.1885, allocations: 95.94 kB / 353.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002401/0.1887, allocations: 76.73 kB / 353.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1888, allocations: 7.984 kB / 353.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.1909, allocations: 1.982 MB / 355.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.191, allocations: 0 / 355.7 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.192, allocations: 0.6658 MB / 356.3 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.1922, allocations: 136.4 kB / 356.5 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.548e-05/0.1923, allocations: 12.28 kB / 356.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.1927, allocations: 39.97 kB / 356.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.1928, allocations: 31.95 kB / 356.5 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.1928, allocations: 15.94 kB / 356.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004727/0.1933, allocations: 346.9 kB / 356.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1933, allocations: 0 / 356.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008598/0.1942, allocations: 247.1 kB / 357.1 MB, free: 4.883 MB / 302.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.0001841/0.1944, allocations: 119.1 kB / 357.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.1955, allocations: 0.5973 MB / 357.8 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.1955, allocations: 4 kB / 357.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.196, allocations: 318.5 kB / 358.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.1967, allocations: 118.3 kB / 358.3 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.1994, allocations: 1.41 MB / 359.7 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.2001, allocations: 0.9299 MB / 360.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000339/0.2005, allocations: 73.2 kB / 360.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.2006, allocations: 43.38 kB / 360.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of SimCode: time 1.011e-06/0.2006, allocations: 0 / 360.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Templates: time 0.01669/0.2173, allocations: 7.173 MB / 367.9 MB, free: 10.02 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)