Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.01093/0.01093, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001782/0.001782, allocations: 189.4 kB / 16.67 MB, free: 5.523 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: 12.23 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.001324/0.001324, allocations: 55.92 kB / 326.6 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1444, allocations: 46.61 MB / 373.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004948/0.1494, allocations: 2.69 MB / 375.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1509, allocations: 0.6979 MB / 376.6 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.1511, allocations: 11.94 kB / 376.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.1514, allocations: 47.56 kB / 376.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1516, allocations: 87.27 kB / 376.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1519, allocations: 91.8 kB / 376.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.1524, allocations: 346.3 kB / 377.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003121/0.1527, allocations: 113.7 kB / 377.3 MB, free: 464 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1529, allocations: 131.5 kB / 377.4 MB, free: 332 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.1532, allocations: 135.5 kB / 377.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.1532, allocations: 28 kB / 377.6 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.1533, allocations: 28 kB / 377.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.1533, allocations: 71.7 kB / 377.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.333/0.4863, allocations: 138.5 kB / 377.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.4871, allocations: 322.1 kB / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4872, allocations: 0 / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4872, allocations: 0 / 378.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.4872, allocations: 1.281 kB / 378.1 MB, free: 10.1 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.001297/0.4885, allocations: 0.5871 MB / 378.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.4886, allocations: 8.938 kB / 378.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.4887, allocations: 37.3 kB / 378.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.4892, allocations: 265.6 kB / 379 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.4893, allocations: 17.06 kB / 379 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/0.4893, allocations: 27 kB / 379 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/0.4899, allocations: 238.1 kB / 379.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.4899, allocations: 7.25 kB / 379.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.49, allocations: 13.55 kB / 379.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.49, allocations: 6.594 kB / 379.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005589/0.4906, allocations: 214.8 kB / 379.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4927, allocations: 0.9165 MB / 380.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006601/0.4933, allocations: 191.3 kB / 380.6 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.4939, allocations: 150.9 kB / 380.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.494, allocations: 3.219 kB / 380.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.494, allocations: 35.09 kB / 380.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.494, allocations: 0 / 380.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002024/0.496, allocations: 0.5363 MB / 381.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4961, allocations: 53.59 kB / 381.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003432/0.4965, allocations: 235.5 kB / 381.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4965, allocations: 26.86 kB / 381.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.4966, allocations: 174 kB / 381.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.4967, allocations: 68.86 kB / 381.9 MB, free: 8.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.4968, allocations: 43.86 kB / 381.9 MB, free: 8.363 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.497, allocations: 330.2 kB / 382.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.4971, allocations: 74.02 kB / 382.3 MB, free: 8.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.4974, allocations: 121.8 kB / 382.4 MB, free: 7.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.4977, allocations: 187.6 kB / 382.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4977, allocations: 1.469 kB / 382.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008856/0.4986, allocations: 337.1 kB / 382.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4987, allocations: 7.938 kB / 383 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4987, allocations: 1.312 kB / 383 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.4993, allocations: 114.1 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.4995, allocations: 48.27 kB / 383.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.5019, allocations: 1.936 MB / 385 MB, free: 6.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.5021, allocations: 25.22 kB / 385.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.5021, allocations: 7.844 kB / 385.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001971/0.5023, allocations: 151.1 kB / 385.2 MB, free: 6.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001567/0.5025, allocations: 102.7 kB / 385.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002305/0.5027, allocations: 171.3 kB / 385.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.5027, allocations: 0 / 385.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005269/0.5032, allocations: 260.5 kB / 385.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5033, allocations: 6.562 kB / 385.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5033, allocations: 1.531 kB / 385.8 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.5034, allocations: 47.02 kB / 385.8 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.5036, allocations: 52.25 kB / 385.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.5053, allocations: 1.723 MB / 387.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.5055, allocations: 25.31 kB / 387.6 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.5055, allocations: 11.25 kB / 387.6 MB, free: 4.227 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.0001463/0.5057, allocations: 192.2 kB / 387.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5057, allocations: 18.66 kB / 387.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.5058, allocations: 25.95 kB / 387.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5058, allocations: 2.406 kB / 387.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5058, allocations: 3.938 kB / 387.8 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.5058, allocations: 2.625 kB / 387.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.5071, allocations: 0.6214 MB / 388.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5072, allocations: 5.156 kB / 388.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.5073, allocations: 30.47 kB / 388.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002732/0.5076, allocations: 73.05 kB / 388.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.5077, allocations: 6.469 kB / 388.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.5097, allocations: 1.87 MB / 390.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5097, allocations: 0 / 390.5 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008104/0.5106, allocations: 415.3 kB / 390.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.5106, allocations: 106.5 kB / 391 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.5107, allocations: 1.844 kB / 391 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.5109, allocations: 21.92 kB / 391 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.5109, allocations: 15.53 kB / 391 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.5109, allocations: 4.094 kB / 391 MB, free: 1.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.5112, allocations: 166.3 kB / 391.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5112, allocations: 0 / 391.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007208/0.5119, allocations: 128.8 kB / 391.3 MB, free: 1.41 MB / 318.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.0001945/0.5121, allocations: 105.1 kB / 391.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.5132, allocations: 0.5452 MB / 391.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5132, allocations: 1.188 kB / 391.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002894/0.5135, allocations: 216.1 kB / 392.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.5139, allocations: 33.64 kB / 392.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.5158, allocations: 0.7436 MB / 392.9 MB, free: 476 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.5162, allocations: 0.7564 MB / 393.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.5163, allocations: 25.2 kB / 393.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.5164, allocations: 17.97 kB / 393.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5164, allocations: 1.188 kB / 393.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of Templates: time 0.009808/0.5262, allocations: 3.318 MB / 397.1 MB, free: 15.52 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.pipe 2>&1)