Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="empty",numberOfIntervals=1998,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01101/0.01101, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.002329/0.002329, allocations: 197.3 kB / 16.68 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.1 MB / 222.6 MB, free: 4.48 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.001254/0.001255, allocations: 55.3 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1539, allocations: 46.63 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.006457/0.1605, allocations: 2.671 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1632, allocations: 0.7096 MB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.1635, allocations: 7.938 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.1639, allocations: 51.56 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003644/0.1642, allocations: 87.25 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.1648, allocations: 95.81 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000586/0.1654, allocations: 342.4 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.1658, allocations: 117.6 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.1661, allocations: 123.6 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.1664, allocations: 143.4 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.1665, allocations: 28 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.1666, allocations: 28 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1667, allocations: 63.7 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.1669, allocations: 143.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.1674, allocations: 318.8 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1674, allocations: 4 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1675, allocations: 0 / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1675, allocations: 0 / 378.1 MB, free: 12.35 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001492/0.169, allocations: 0.5888 MB / 378.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.169, allocations: 12.03 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1692, allocations: 28.56 kB / 378.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.1698, allocations: 271.7 kB / 379 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.1699, allocations: 12.94 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.997e-05/0.17, allocations: 24.38 kB / 379 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.1707, allocations: 253.2 kB / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1707, allocations: 0 / 379.3 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.1708, allocations: 8 kB / 379.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.1708, allocations: 8 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.1715, allocations: 218.1 kB / 379.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.1737, allocations: 0.9212 MB / 380.4 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006425/0.1744, allocations: 186.5 kB / 380.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/0.1749, allocations: 152.8 kB / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.175, allocations: 4 kB / 380.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.175, allocations: 34.56 kB / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 2.285e-06/0.175, allocations: 0 / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002242/0.1773, allocations: 0.5342 MB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1774, allocations: 63.39 kB / 381.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.1777, allocations: 224.2 kB / 381.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1778, allocations: 25.7 kB / 381.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1779, allocations: 179.8 kB / 381.8 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.876e-05/0.178, allocations: 70.94 kB / 381.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1782, allocations: 45.7 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1784, allocations: 330.8 kB / 382.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1786, allocations: 72.83 kB / 382.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1789, allocations: 121.9 kB / 382.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.1793, allocations: 185.8 kB / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.1794, allocations: 0 / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001073/0.1804, allocations: 337.7 kB / 383 MB, free: 7.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.1805, allocations: 8 kB / 383 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.1805, allocations: 0 / 383 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007278/0.1813, allocations: 116.9 kB / 383.1 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.1816, allocations: 43.92 kB / 383.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.1852, allocations: 1.927 MB / 385.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.1855, allocations: 23.78 kB / 385.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.1856, allocations: 12 kB / 385.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002932/0.1859, allocations: 156 kB / 385.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000194/0.1861, allocations: 102 kB / 385.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003353/0.1864, allocations: 166.1 kB / 385.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.1864, allocations: 3.938 kB / 385.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007056/0.1872, allocations: 253.9 kB / 385.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1872, allocations: 8 kB / 385.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1872, allocations: 0 / 385.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.1874, allocations: 52.7 kB / 385.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.1877, allocations: 56.09 kB / 385.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.1902, allocations: 1.717 MB / 387.6 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.1904, allocations: 23.73 kB / 387.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.1904, allocations: 15.94 kB / 387.6 MB, free: 2.176 MB / 318.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.1907, allocations: 188.2 kB / 387.8 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.1908, allocations: 19.81 kB / 387.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.1909, allocations: 21.88 kB / 387.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.1909, allocations: 8 kB / 387.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1909, allocations: 7.984 kB / 387.9 MB, free: 1.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1909, allocations: 3.984 kB / 387.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1924, allocations: 0.6202 MB / 388.5 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1925, allocations: 7.984 kB / 388.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.1927, allocations: 27.98 kB / 388.5 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/0.1931, allocations: 64.81 kB / 388.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1931, allocations: 4 kB / 388.6 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/0.1961, allocations: 1.873 MB / 390.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1961, allocations: 0 / 390.5 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1971, allocations: 416.5 kB / 390.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.1972, allocations: 104.7 kB / 391 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.1973, allocations: 7.938 kB / 391 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1975, allocations: 20.05 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1976, allocations: 15.92 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1976, allocations: 4 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.1979, allocations: 173.6 kB / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1979, allocations: 0 / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001088/0.199, allocations: 123.7 kB / 391.3 MB, free: 14.24 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.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 (13): * Single equations (assignments): 12 * 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): 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.0002861/0.1993, allocations: 103.2 kB / 391.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2008, allocations: 0.545 MB / 392 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2008, allocations: 0 / 392 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004134/0.2013, allocations: 210.6 kB / 392.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006268/0.2019, allocations: 41.34 kB / 392.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.2048, allocations: 0.7485 MB / 392.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.2056, allocations: 0.7559 MB / 393.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.2058, allocations: 25.94 kB / 393.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.722e-05/0.2059, allocations: 15.44 kB / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 1.042e-06/0.2059, allocations: 0 / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Templates: time 0.01105/0.2169, allocations: 3.318 MB / 397.1 MB, free: 8.375 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)