Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.00184/0.00184, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002246/0.002247, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.06/2.06, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001653/0.001653, allocations: 51.92 kB / 280 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 46.63 MB / 326.6 MB, free: 4.453 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.009553/0.1737, allocations: 2.683 MB / 329.3 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1764, allocations: 0.702 MB / 330 MB, free: 1.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.1769, allocations: 4 kB / 330 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.1773, allocations: 51.5 kB / 330.1 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.1778, allocations: 95.23 kB / 330.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.1785, allocations: 87.83 kB / 330.3 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.1794, allocations: 334.6 kB / 330.6 MB, free: 484 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004254/0.1798, allocations: 109.7 kB / 330.7 MB, free: 380 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.1805, allocations: 131.5 kB / 330.8 MB, free: 248 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.1809, allocations: 139.4 kB / 331 MB, free: 108 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.181, allocations: 28 kB / 331 MB, free: 80 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1812, allocations: 28 kB / 331 MB, free: 52 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.1813, allocations: 67.84 kB / 331.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.1817, allocations: 147.2 kB / 331.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005811/0.1823, allocations: 315.1 kB / 331.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.1823, allocations: 0 / 331.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1823, allocations: 0 / 331.5 MB, free: 15.53 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.067e-05/0.1824, allocations: 0 / 331.5 MB, free: 15.53 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002112/0.1845, allocations: 0.5887 MB / 332.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.877e-05/0.1846, allocations: 12.03 kB / 332.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1848, allocations: 24.66 kB / 332.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.1854, allocations: 271.7 kB / 332.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.1855, allocations: 20.94 kB / 332.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1856, allocations: 28.31 kB / 332.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.1865, allocations: 249.2 kB / 332.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1865, allocations: 0 / 332.7 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/0.1866, allocations: 12 kB / 332.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1866, allocations: 4 kB / 332.7 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.1875, allocations: 222.1 kB / 332.9 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.191, allocations: 0.9251 MB / 333.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.1918, allocations: 190.4 kB / 334.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.1924, allocations: 156.8 kB / 334.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.1925, allocations: 4 kB / 334.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.1925, allocations: 34.56 kB / 334.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/0.1925, allocations: 4 kB / 334.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002603/0.1952, allocations: 0.5257 MB / 334.8 MB, free: 12.08 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.1952, allocations: 59.39 kB / 334.8 MB, free: 12.01 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.1957, allocations: 220.2 kB / 335 MB, free: 11.78 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.1958, allocations: 37.64 kB / 335.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.196, allocations: 175.8 kB / 335.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1961, allocations: 59.11 kB / 335.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1963, allocations: 49.7 kB / 335.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1965, allocations: 330.8 kB / 335.7 MB, free: 11.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.1968, allocations: 68.83 kB / 335.7 MB, free: 11.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1972, allocations: 121.9 kB / 335.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.1978, allocations: 189.8 kB / 336.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1978, allocations: 0 / 336.1 MB, free: 10.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001356/0.1992, allocations: 337.8 kB / 336.4 MB, free: 10.35 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.1993, allocations: 7.938 kB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.1993, allocations: 4 kB / 336.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/0.2001, allocations: 112.8 kB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.2005, allocations: 47.92 kB / 336.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.2047, allocations: 1.931 MB / 338.5 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.205, allocations: 27.69 kB / 338.5 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.2051, allocations: 16.06 kB / 338.5 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003208/0.2054, allocations: 148.1 kB / 338.7 MB, free: 7.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002537/0.2057, allocations: 113.9 kB / 338.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004325/0.2061, allocations: 169.8 kB / 338.9 MB, free: 7.594 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.797e-06/0.2062, allocations: 3.938 kB / 339 MB, free: 7.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007828/0.207, allocations: 254 kB / 339.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.207, allocations: 4 kB / 339.2 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.207, allocations: 4 kB / 339.2 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.2073, allocations: 44.77 kB / 339.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.2076, allocations: 55.91 kB / 339.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.2102, allocations: 1.713 MB / 341 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2105, allocations: 19.83 kB / 341 MB, free: 5.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.2105, allocations: 8 kB / 341 MB, free: 5.348 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: 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.0002449/0.2108, allocations: 196.1 kB / 341.2 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/0.2109, allocations: 23.7 kB / 341.3 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.211, allocations: 25.88 kB / 341.3 MB, free: 5.102 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.211, allocations: 3.938 kB / 341.3 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.211, allocations: 3.984 kB / 341.3 MB, free: 5.094 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2111, allocations: 4.062 kB / 341.3 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.2127, allocations: 0.6123 MB / 341.9 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.2128, allocations: 3.984 kB / 341.9 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.213, allocations: 35.92 kB / 341.9 MB, free: 4.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003819/0.2134, allocations: 64.81 kB / 342 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2135, allocations: 4 kB / 342 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/0.2168, allocations: 1.873 MB / 343.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2168, allocations: 4.062 kB / 343.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2179, allocations: 415.7 kB / 344.3 MB, free: 1.867 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.2181, allocations: 108.9 kB / 344.4 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.2181, allocations: 4 kB / 344.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2184, allocations: 15.98 kB / 344.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.2185, allocations: 15.92 kB / 344.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.2185, allocations: 4 kB / 344.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002794/0.2188, allocations: 173.6 kB / 344.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2188, allocations: 0 / 344.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001087/0.2199, allocations: 127.6 kB / 344.7 MB, free: 1.41 MB / 286.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.0002279/0.2202, allocations: 107.2 kB / 344.8 MB, free: 1.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.2219, allocations: 0.5514 MB / 345.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.2219, allocations: 0 / 345.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.2224, allocations: 214.5 kB / 345.6 MB, free: 0.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.2233, allocations: 50.03 kB / 345.7 MB, free: 460 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.2262, allocations: 0.7254 MB / 346.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.2268, allocations: 0.7561 MB / 347.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001934/0.227, allocations: 25.95 kB / 347.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.2271, allocations: 15.44 kB / 347.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2271, allocations: 0 / 347.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of Templates: time 0.01378/0.2408, allocations: 3.266 MB / 350.4 MB, free: 11.61 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)