Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001495/0.001495, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.741/1.741, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001428/0.001428, allocations: 43.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1624, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.004944/0.1674, allocations: 2.865 MB / 328.8 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1691, allocations: 0.7567 MB / 329.6 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.1693, allocations: 4 kB / 329.6 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1695, allocations: 31.7 kB / 329.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.1697, allocations: 83.38 kB / 329.7 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1701, allocations: 87.84 kB / 329.8 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1705, allocations: 370.4 kB / 330.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.1708, allocations: 85.27 kB / 330.2 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.171, allocations: 131.4 kB / 330.4 MB, free: 460 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.1713, allocations: 159.3 kB / 330.5 MB, free: 300 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.1713, allocations: 20 kB / 330.5 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.917e-05/0.1714, allocations: 20 kB / 330.6 MB, free: 260 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.235e-05/0.1715, allocations: 59.69 kB / 330.6 MB, free: 200 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1717, allocations: 151.2 kB / 330.8 MB, free: 48 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.1721, allocations: 343 kB / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.1721, allocations: 0 / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1721, allocations: 0 / 331.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1722, allocations: 0 / 331.1 MB, free: 15.71 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00162/0.1738, allocations: 0.6614 MB / 331.8 MB, free: 14.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.1739, allocations: 12.03 kB / 331.8 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.174, allocations: 32.56 kB / 331.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.1744, allocations: 280.6 kB / 332.1 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.098e-05/0.1744, allocations: 20.94 kB / 332.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/0.1745, allocations: 28.31 kB / 332.1 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007137/0.1752, allocations: 265.1 kB / 332.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1752, allocations: 0 / 332.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.1753, allocations: 16 kB / 332.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.1753, allocations: 8 kB / 332.4 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.1761, allocations: 262 kB / 332.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001803/0.1779, allocations: 0.9133 MB / 333.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.1787, allocations: 246.5 kB / 333.8 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.179, allocations: 108.7 kB / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1791, allocations: 0 / 333.9 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.1796, allocations: 185.7 kB / 334.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.1796, allocations: 0 / 334.1 MB, free: 12.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002133/0.1818, allocations: 0.6133 MB / 334.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.1819, allocations: 106.8 kB / 334.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1822, allocations: 274.5 kB / 335.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1822, allocations: 29.7 kB / 335.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.1824, allocations: 187.8 kB / 335.3 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.1825, allocations: 51.3 kB / 335.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-05/0.1826, allocations: 45.61 kB / 335.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1828, allocations: 334.8 kB / 335.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.1831, allocations: 105 kB / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.1835, allocations: 164 kB / 336 MB, free: 10.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006192/0.1841, allocations: 263.6 kB / 336.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1841, allocations: 0 / 336.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001065/0.1852, allocations: 427.6 kB / 336.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.1852, allocations: 33.7 kB / 336.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1853, allocations: 3.984 kB / 336.7 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.1857, allocations: 116.8 kB / 336.8 MB, free: 9.617 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.186, allocations: 47.89 kB / 336.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.1881, allocations: 1.694 MB / 338.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.1884, allocations: 51.73 kB / 338.6 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1885, allocations: 8 kB / 338.6 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003618/0.1888, allocations: 188.4 kB / 338.8 MB, free: 7.492 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003433/0.1892, allocations: 148.1 kB / 338.9 MB, free: 7.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005207/0.1897, allocations: 251.5 kB / 339.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.1897, allocations: 0 / 339.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0008278/0.1906, allocations: 347.7 kB / 339.5 MB, free: 6.691 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.1906, allocations: 37.7 kB / 339.6 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.1906, allocations: 0 / 339.6 MB, free: 6.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.1908, allocations: 44.83 kB / 339.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.191, allocations: 47.89 kB / 339.7 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.1923, allocations: 1.542 MB / 341.2 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.1927, allocations: 51.91 kB / 341.2 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.1927, allocations: 12 kB / 341.3 MB, free: 4.812 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.1929, allocations: 188.2 kB / 341.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.1929, allocations: 31.64 kB / 341.5 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.193, allocations: 26.19 kB / 341.5 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.193, allocations: 3.938 kB / 341.5 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.193, allocations: 0 / 341.5 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.193, allocations: 7.984 kB / 341.5 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.1934, allocations: 317.3 kB / 341.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1934, allocations: 0 / 341.8 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.1936, allocations: 27.97 kB / 341.9 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/0.1939, allocations: 60.81 kB / 341.9 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1939, allocations: 7.984 kB / 341.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/0.1957, allocations: 1.601 MB / 343.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1958, allocations: 0 / 343.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.1969, allocations: 444.3 kB / 344 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.197, allocations: 100.9 kB / 344.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1971, allocations: 8 kB / 344.1 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1973, allocations: 27.97 kB / 344.1 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.85e-05/0.1974, allocations: 27.84 kB / 344.1 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1974, allocations: 7.984 kB / 344.1 MB, free: 1.723 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1977, allocations: 190 kB / 344.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1977, allocations: 0 / 344.3 MB, free: 1.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005949/0.1983, allocations: 143.6 kB / 344.4 MB, free: 1.398 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001872/0.1985, allocations: 103.2 kB / 344.5 MB, free: 1.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.1999, allocations: 0.6996 MB / 345.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2, allocations: 0 / 345.2 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004694/0.2004, allocations: 247.2 kB / 345.5 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.2008, allocations: 48.52 kB / 345.5 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2021, allocations: 0.6183 MB / 346.2 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.2025, allocations: 0.7561 MB / 346.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.2026, allocations: 30.22 kB / 346.9 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.2027, allocations: 23.44 kB / 347 MB, free: 14.75 MB / 302.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2027, allocations: 3.938 kB / 347 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Templates: time 0.008736/0.2115, allocations: 4.161 MB / 351.1 MB, free: 10.59 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.pipe 2>&1)