Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007805/0.007805, allocations: 104.7 kB / 15.74 MB, free: 6.02 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.001355/0.001355, allocations: 188 kB / 16.67 MB, free: 5.941 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.699/1.699, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001914/0.001914, allocations: 54.08 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1652, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004812/0.1701, allocations: 2.75 MB / 375.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1713, allocations: 0.659 MB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.1714, allocations: 4 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1717, allocations: 51.5 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001936/0.1719, allocations: 91.17 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1721, allocations: 79.84 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.1725, allocations: 354.8 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.1729, allocations: 135.4 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.173, allocations: 135.5 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1733, allocations: 143.4 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.1733, allocations: 32 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.897e-05/0.1734, allocations: 32 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.1735, allocations: 75.69 kB / 377.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1737, allocations: 159.2 kB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.1741, allocations: 366.5 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.1741, allocations: 0 / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1741, allocations: 0 / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1742, allocations: 4 kB / 378.2 MB, free: 12.21 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001147/0.1753, allocations: 0.6 MB / 378.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.1754, allocations: 8.031 kB / 378.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.1755, allocations: 36.7 kB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.1759, allocations: 255.9 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.176, allocations: 20.94 kB / 379.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.267e-05/0.176, allocations: 32.33 kB / 379.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.1765, allocations: 253.2 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1766, allocations: 4 kB / 379.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.1766, allocations: 12 kB / 379.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.1766, allocations: 8 kB / 379.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.177, allocations: 186.1 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1786, allocations: 1.002 MB / 380.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005889/0.1792, allocations: 332.8 kB / 381 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002784/0.1795, allocations: 140.8 kB / 381.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1796, allocations: 7.938 kB / 381.1 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1796, allocations: 34.55 kB / 381.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.1796, allocations: 0 / 381.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001739/0.1814, allocations: 0.7757 MB / 381.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1814, allocations: 55.41 kB / 382 MB, free: 8.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1816, allocations: 206.1 kB / 382.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1817, allocations: 29.7 kB / 382.2 MB, free: 7.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1818, allocations: 176.5 kB / 382.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.1819, allocations: 91.2 kB / 382.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.607e-05/0.1819, allocations: 49.94 kB / 382.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1821, allocations: 338.8 kB / 382.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1822, allocations: 68.53 kB / 382.9 MB, free: 7.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1824, allocations: 102.8 kB / 383 MB, free: 7.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.1827, allocations: 189.5 kB / 383.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1827, allocations: 0 / 383.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005317/0.1832, allocations: 310.2 kB / 383.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1833, allocations: 8 kB / 383.5 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1833, allocations: 3.938 kB / 383.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.1836, allocations: 92.73 kB / 383.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1838, allocations: 47.92 kB / 383.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.186, allocations: 2.088 MB / 385.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.1861, allocations: 11.97 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1861, allocations: 8 kB / 385.7 MB, free: 4.191 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.1863, allocations: 133.8 kB / 385.9 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.1864, allocations: 19.91 kB / 385.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.978e-05/0.1864, allocations: 29.86 kB / 385.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1865, allocations: 4.062 kB / 385.9 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.1865, allocations: 4 kB / 385.9 MB, free: 3.996 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1865, allocations: 7.938 kB / 385.9 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1876, allocations: 0.7488 MB / 386.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1877, allocations: 0 / 386.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1878, allocations: 43.97 kB / 386.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.1881, allocations: 72.77 kB / 386.8 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.1881, allocations: 3.984 kB / 386.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.1901, allocations: 1.991 MB / 388.8 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1901, allocations: 4.062 kB / 388.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006484/0.1908, allocations: 460.4 kB / 389.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1909, allocations: 96.91 kB / 389.3 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.1909, allocations: 8.062 kB / 389.4 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.1911, allocations: 19.98 kB / 389.4 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.1911, allocations: 19.97 kB / 389.4 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.1912, allocations: 4 kB / 389.4 MB, free: 296 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.1913, allocations: 148.3 kB / 389.5 MB, free: 148 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1913, allocations: 3.938 kB / 389.5 MB, free: 144 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.1917, allocations: 76 kB / 389.6 MB, free: 68 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001848/0.1919, allocations: 105.4 kB / 389.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007123/0.1926, allocations: 374.3 kB / 390.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1926, allocations: 0 / 390.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004/0.193, allocations: 258.5 kB / 390.3 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1935, allocations: 52.23 kB / 390.4 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1948, allocations: 0.7691 MB / 391.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1951, allocations: 0.7675 MB / 391.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.381e-05/0.1952, allocations: 14.3 kB / 391.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.1953, allocations: 19.44 kB / 392 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1953, allocations: 0 / 392 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Templates: time 0.007364/0.2027, allocations: 3.258 MB / 395.2 MB, free: 10.38 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)