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.001677/0.001677, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002132/0.002132, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.915/1.915, allocations: 205.1 MB / 222 MB, free: 4.773 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.001722/0.001722, allocations: 47.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3987, allocations: 46.62 MB / 324.7 MB, free: 2.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.004993/0.4038, allocations: 2.739 MB / 327.4 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.4063, allocations: 0.6997 MB / 328.1 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.4066, allocations: 9.5 kB / 328.1 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.4069, allocations: 35.78 kB / 328.2 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.4072, allocations: 73.39 kB / 328.2 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.4076, allocations: 82 kB / 328.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.4082, allocations: 325.7 kB / 328.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.4086, allocations: 93.39 kB / 328.7 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.4091, allocations: 119.4 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.4093, allocations: 134.9 kB / 329 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.472e-05/0.4094, allocations: 19.53 kB / 329 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.4095, allocations: 23.88 kB / 329 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4096, allocations: 54.48 kB / 329.1 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.4099, allocations: 140.6 kB / 329.2 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.4105, allocations: 302.1 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4105, allocations: 1.156 kB / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4105, allocations: 0 / 329.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.4105, allocations: 0 / 329.5 MB, free: 14.48 MB / 270.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.001635/0.4122, allocations: 0.5965 MB / 330.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.855e-05/0.4123, allocations: 9.312 kB / 330.1 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4124, allocations: 28.56 kB / 330.1 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.4131, allocations: 259 kB / 330.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.4131, allocations: 23.28 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.4132, allocations: 24.25 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006811/0.4139, allocations: 253.7 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.4139, allocations: 1.281 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.414, allocations: 10.53 kB / 330.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.414, allocations: 5.844 kB / 330.7 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006282/0.4146, allocations: 219 kB / 330.9 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.4166, allocations: 0.9124 MB / 331.8 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.4172, allocations: 195.2 kB / 332 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.4177, allocations: 146.3 kB / 332.2 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.4177, allocations: 1.469 kB / 332.2 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.4178, allocations: 44.28 kB / 332.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.4178, allocations: 0 / 332.2 MB, free: 12.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001792/0.4196, allocations: 0.5364 MB / 332.7 MB, free: 12.03 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.4197, allocations: 55.41 kB / 332.8 MB, free: 11.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.4199, allocations: 228.1 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.42, allocations: 33.7 kB / 333.1 MB, free: 11.68 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.4201, allocations: 171.8 kB / 333.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.4202, allocations: 71.09 kB / 333.3 MB, free: 11.44 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.4203, allocations: 45.7 kB / 333.3 MB, free: 11.39 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.4206, allocations: 330.8 kB / 333.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.4208, allocations: 72.77 kB / 333.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.421, allocations: 118 kB / 333.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.4214, allocations: 185.9 kB / 334 MB, free: 10.64 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.4214, allocations: 0 / 334 MB, free: 10.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000865/0.4223, allocations: 337.9 kB / 334.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4223, allocations: 4 kB / 334.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4224, allocations: 4 kB / 334.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.4229, allocations: 108.8 kB / 334.5 MB, free: 10.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.4232, allocations: 51.97 kB / 334.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.4258, allocations: 1.744 MB / 336.3 MB, free: 8.254 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4261, allocations: 23.73 kB / 336.3 MB, free: 8.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.4261, allocations: 8 kB / 336.3 MB, free: 8.223 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002064/0.4263, allocations: 148.1 kB / 336.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001499/0.4265, allocations: 110.5 kB / 336.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002267/0.4267, allocations: 177.8 kB / 336.7 MB, free: 7.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.763e-06/0.4267, allocations: 7.984 kB / 336.7 MB, free: 7.742 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004456/0.4272, allocations: 253.9 kB / 337 MB, free: 7.484 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4272, allocations: 4 kB / 337 MB, free: 7.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4272, allocations: 4 kB / 337 MB, free: 7.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.4273, allocations: 41.03 kB / 337 MB, free: 7.434 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4275, allocations: 47.97 kB / 337.1 MB, free: 7.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.4291, allocations: 1.553 MB / 338.6 MB, free: 5.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4293, allocations: 15.84 kB / 338.6 MB, free: 5.688 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.4293, allocations: 8 kB / 338.6 MB, free: 5.68 MB / 270.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.0002168/0.4295, allocations: 196.2 kB / 338.8 MB, free: 5.48 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.4296, allocations: 19.81 kB / 338.9 MB, free: 5.461 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.4297, allocations: 29.88 kB / 338.9 MB, free: 5.434 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4297, allocations: 0 / 338.9 MB, free: 5.434 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4297, allocations: 4 kB / 338.9 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.4297, allocations: 3.984 kB / 338.9 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4308, allocations: 0.6238 MB / 339.5 MB, free: 4.742 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4308, allocations: 0 / 339.5 MB, free: 4.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.431, allocations: 35.91 kB / 339.6 MB, free: 4.707 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.4313, allocations: 64.81 kB / 339.6 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4313, allocations: 0 / 339.6 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/0.4337, allocations: 1.69 MB / 341.3 MB, free: 2.816 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4337, allocations: 3.938 kB / 341.3 MB, free: 2.812 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008562/0.4346, allocations: 422.3 kB / 341.7 MB, free: 2.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4347, allocations: 96.8 kB / 341.8 MB, free: 2.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.4348, allocations: 4 kB / 341.8 MB, free: 2.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.435, allocations: 24.05 kB / 341.8 MB, free: 2.242 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.435, allocations: 15.97 kB / 341.9 MB, free: 2.227 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.4351, allocations: 4 kB / 341.9 MB, free: 2.223 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.4353, allocations: 165.6 kB / 342 MB, free: 2.062 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4353, allocations: 0 / 342 MB, free: 2.062 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.436, allocations: 127.7 kB / 342.2 MB, free: 1.938 MB / 270.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.0001661/0.4362, allocations: 111.2 kB / 342.3 MB, free: 1.82 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4373, allocations: 0.5448 MB / 342.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4373, allocations: 0 / 342.8 MB, free: 1.25 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.4376, allocations: 206.6 kB / 343 MB, free: 1.035 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.4382, allocations: 32.66 kB / 343 MB, free: 1 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.4403, allocations: 0.8379 MB / 343.9 MB, free: 140 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.4409, allocations: 0.7522 MB / 344.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.441, allocations: 25.94 kB / 344.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.4411, allocations: 19.44 kB / 344.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4411, allocations: 0 / 344.7 MB, free: 15.31 MB / 286.1 MB Notification: Performance of Templates: time 0.009103/0.4502, allocations: 3.077 MB / 347.8 MB, free: 12.23 MB / 286.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)