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.001288/0.001288, allocations: 89.86 kB / 16.65 MB, free: 6.535 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.001301/0.001301, allocations: 175.7 kB / 17.56 MB, free: 6.184 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.74/1.74, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005213/0.0005217, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1518, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.00636/0.1583, allocations: 2.495 MB / 330.8 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.161, allocations: 0.745 MB / 331.6 MB, free: 496 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.1613, allocations: 7.938 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1616, allocations: 31.77 kB / 331.6 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.162, allocations: 87.31 kB / 331.7 MB, free: 368 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.1626, allocations: 87.91 kB / 331.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.1632, allocations: 362.4 kB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.1635, allocations: 85.28 kB / 332.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.1639, allocations: 127.4 kB / 332.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004419/0.1644, allocations: 147.3 kB / 332.5 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.358e-05/0.1645, allocations: 16 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.1645, allocations: 16 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1647, allocations: 55.7 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.165, allocations: 168.9 kB / 332.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.1656, allocations: 331 kB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1656, allocations: 0 / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.1657, allocations: 0 / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.1657, allocations: 4 kB / 333.1 MB, free: 14.98 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.002107/0.1678, allocations: 0.6303 MB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1679, allocations: 8.031 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.168, allocations: 36.56 kB / 333.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.1686, allocations: 288.4 kB / 334 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.1687, allocations: 24.94 kB / 334 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.1688, allocations: 20.31 kB / 334.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.17, allocations: 289.1 kB / 334.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1701, allocations: 4 kB / 334.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.832e-05/0.1701, allocations: 8 kB / 334.4 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.1701, allocations: 8 kB / 334.4 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.1717, allocations: 302 kB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.1744, allocations: 0.9327 MB / 335.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.1759, allocations: 278.6 kB / 335.9 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/0.1765, allocations: 128.7 kB / 336 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.1766, allocations: 3.938 kB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000859/0.1774, allocations: 201.5 kB / 336.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 3.417e-06/0.1775, allocations: 0 / 336.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.004057/0.1815, allocations: 0.7409 MB / 336.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1817, allocations: 110.8 kB / 337 MB, free: 10.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/0.1822, allocations: 266.6 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.1823, allocations: 29.7 kB / 337.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.1826, allocations: 183.8 kB / 337.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.228e-05/0.1827, allocations: 55.2 kB / 337.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.1828, allocations: 29.7 kB / 337.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.1831, allocations: 330.8 kB / 337.9 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.1837, allocations: 116.2 kB / 338 MB, free: 9.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.1844, allocations: 184 kB / 338.2 MB, free: 9.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1857, allocations: 291.6 kB / 338.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.1857, allocations: 0 / 338.5 MB, free: 9.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002368/0.1881, allocations: 483.6 kB / 339 MB, free: 8.719 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.1883, allocations: 167.8 kB / 339.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1884, allocations: 0 / 339.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009376/0.1893, allocations: 140.7 kB / 339.3 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.1897, allocations: 51.95 kB / 339.3 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.1936, allocations: 1.764 MB / 341.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.1943, allocations: 59.7 kB / 341.1 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1944, allocations: 4 kB / 341.1 MB, free: 6.367 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1944, allocations: 4 kB / 341.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/0.196, allocations: 350.2 kB / 341.5 MB, free: 6.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.196, allocations: 4 kB / 341.5 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.1962, allocations: 40.77 kB / 341.5 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.1966, allocations: 55.94 kB / 341.6 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.199, allocations: 1.53 MB / 343.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/0.1996, allocations: 43.81 kB / 343.2 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.1996, allocations: 15.92 kB / 343.2 MB, free: 4.184 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.0003923/0.2, allocations: 213.1 kB / 343.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2001, allocations: 31.72 kB / 343.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.2003, allocations: 30.17 kB / 343.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2003, allocations: 192 / 343.4 MB, free: 3.902 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.2003, allocations: 4 kB / 343.4 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2003, allocations: 0 / 343.4 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.2009, allocations: 313.2 kB / 343.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.201, allocations: 0 / 343.8 MB, free: 3.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.2013, allocations: 43.97 kB / 343.8 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.2018, allocations: 72.78 kB / 343.9 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.2018, allocations: 11.94 kB / 343.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.2053, allocations: 1.644 MB / 345.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2053, allocations: 0 / 345.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002597/0.2079, allocations: 0.4897 MB / 346 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2082, allocations: 104.8 kB / 346.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.2083, allocations: 4.188 kB / 346.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.2088, allocations: 48.02 kB / 346.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.209, allocations: 19.97 kB / 346.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.209, allocations: 4 kB / 346.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000461/0.2095, allocations: 198 kB / 346.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2095, allocations: 0 / 346.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00121/0.2107, allocations: 135.7 kB / 346.5 MB, free: 0.6094 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.000325/0.2111, allocations: 103.2 kB / 346.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002902/0.214, allocations: 0.748 MB / 347.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.214, allocations: 4 kB / 347.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008115/0.2149, allocations: 262.8 kB / 347.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.2155, allocations: 44.53 kB / 347.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.2178, allocations: 0.6781 MB / 348.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/0.2185, allocations: 0.7561 MB / 349.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.2188, allocations: 30.27 kB / 349.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.2189, allocations: 19.44 kB / 349.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.725e-06/0.2189, allocations: 0 / 349.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01243/0.2314, allocations: 4.113 MB / 353.3 MB, free: 9.734 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)