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.01019/0.01019, allocations: 102.1 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.001587/0.001587, allocations: 195.7 kB / 16.67 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.084/2.084, allocations: 205.1 MB / 222.5 MB, free: 4.422 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.001493/0.001493, allocations: 56.38 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, 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.00477/0.1645, allocations: 2.675 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1659, allocations: 0.7095 MB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.166, allocations: 4 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1663, allocations: 47.52 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.1665, allocations: 91.25 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.1668, allocations: 99.8 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000517/0.1673, allocations: 330.5 kB / 377.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1676, allocations: 125.6 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.1679, allocations: 127.5 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.1682, allocations: 147.3 kB / 377.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.029e-05/0.1682, allocations: 28 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.1683, allocations: 28 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.044e-05/0.1683, allocations: 59.77 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.1685, allocations: 147.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.1691, allocations: 314.9 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.1691, allocations: 4 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1691, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1691, allocations: 0 / 378.1 MB, free: 12.34 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.001152/0.1703, allocations: 0.5927 MB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.1703, allocations: 12.03 kB / 378.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.1704, allocations: 32.56 kB / 378.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.1709, allocations: 263.7 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.1709, allocations: 24.86 kB / 379 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-05/0.171, allocations: 24.38 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.1715, allocations: 253.2 kB / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1715, allocations: 0 / 379.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.1716, allocations: 8 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1716, allocations: 8 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.1721, allocations: 214.1 kB / 379.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1739, allocations: 0.9134 MB / 380.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.1744, allocations: 182.6 kB / 380.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003677/0.1748, allocations: 152.7 kB / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1748, allocations: 7.984 kB / 380.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.1748, allocations: 34.5 kB / 380.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1749, allocations: 0 / 380.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.00155/0.1764, allocations: 0.5342 MB / 381.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1765, allocations: 59.41 kB / 381.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.1768, allocations: 228.2 kB / 381.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1768, allocations: 25.7 kB / 381.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.177, allocations: 183.8 kB / 381.8 MB, free: 8.383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.177, allocations: 63.02 kB / 381.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1771, allocations: 45.7 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1773, allocations: 330.8 kB / 382.3 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.1775, allocations: 72.83 kB / 382.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1778, allocations: 118 kB / 382.4 MB, free: 7.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.1781, allocations: 185.7 kB / 382.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.1781, allocations: 4 kB / 382.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007021/0.1789, allocations: 337.7 kB / 383 MB, free: 7.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1789, allocations: 8 kB / 383 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.1789, allocations: 3.984 kB / 383 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.1794, allocations: 116.9 kB / 383.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1796, allocations: 43.92 kB / 383.1 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.1821, allocations: 1.927 MB / 385.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1823, allocations: 23.81 kB / 385.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.1823, allocations: 12 kB / 385.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001869/0.1825, allocations: 152.1 kB / 385.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001353/0.1826, allocations: 106 kB / 385.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002294/0.1829, allocations: 170 kB / 385.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.1829, allocations: 3.938 kB / 385.5 MB, free: 4.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004298/0.1833, allocations: 253.9 kB / 385.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1833, allocations: 8 kB / 385.8 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1834, allocations: 3.938 kB / 385.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.1835, allocations: 48.77 kB / 385.8 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.1837, allocations: 48.11 kB / 385.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.1854, allocations: 1.725 MB / 387.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.1855, allocations: 19.78 kB / 387.6 MB, free: 2.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1856, allocations: 11.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.000172/0.1857, allocations: 196.1 kB / 387.8 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.689e-05/0.1858, allocations: 23.8 kB / 387.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.1859, allocations: 21.88 kB / 387.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.1859, allocations: 12 kB / 387.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1859, allocations: 0 / 387.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.186, allocations: 3.984 kB / 387.9 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.187, allocations: 0.6202 MB / 388.5 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.187, allocations: 4 kB / 388.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.1871, allocations: 27.98 kB / 388.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/0.1874, allocations: 76.72 kB / 388.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1874, allocations: 0 / 388.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.1898, allocations: 1.869 MB / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1898, allocations: 0 / 390.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.1905, allocations: 416.5 kB / 390.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.1906, allocations: 104.7 kB / 391 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1907, allocations: 0 / 391 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1909, allocations: 24.05 kB / 391 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.1909, allocations: 11.97 kB / 391 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1909, allocations: 8 kB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.1911, allocations: 165.6 kB / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1911, allocations: 0 / 391.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.1918, allocations: 127.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.00022/0.192, allocations: 115.2 kB / 391.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.1931, allocations: 0.5411 MB / 392 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1931, allocations: 0 / 392 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.1934, allocations: 202.7 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.0004505/0.1939, allocations: 40.97 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.001955/0.1959, allocations: 0.7527 MB / 393 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005175/0.1964, allocations: 0.752 MB / 393.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.1965, 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 4.916e-05/0.1966, allocations: 15.44 kB / 393.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1966, allocations: 7.938 kB / 393.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of Templates: time 0.009529/0.2061, allocations: 3.31 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)