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.001282/0.001282, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.82/1.82, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.002448/0.002448, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3738, allocations: 46.64 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005396/0.3792, allocations: 2.681 MB / 328 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3811, allocations: 0.7121 MB / 328.7 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.3813, allocations: 9.188 kB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.3816, allocations: 44.64 kB / 328.8 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.3818, allocations: 83.03 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.3822, allocations: 103.2 kB / 329 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.3826, allocations: 333 kB / 329.3 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.383, allocations: 111.4 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3832, allocations: 127.5 kB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.3835, allocations: 135.5 kB / 329.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/0.3835, allocations: 26.84 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.3836, allocations: 28.5 kB / 329.7 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.3837, allocations: 70.44 kB / 329.8 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.3839, allocations: 144.6 kB / 329.9 MB, free: 14.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.3843, allocations: 314.2 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3843, allocations: 1.188 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3843, allocations: 4 kB / 330.2 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3844, allocations: 0 / 330.2 MB, free: 14.14 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.00128/0.3856, allocations: 0.5897 MB / 330.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.2e-05/0.3857, allocations: 8.344 kB / 330.8 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.3858, allocations: 28.47 kB / 330.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.3864, allocations: 268.1 kB / 331.1 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.3864, allocations: 18.56 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.3865, allocations: 28.27 kB / 331.2 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006716/0.3872, allocations: 249.7 kB / 331.4 MB, free: 13.16 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3872, allocations: 4 kB / 331.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3873, allocations: 10.94 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3873, allocations: 6.344 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006525/0.388, allocations: 219.1 kB / 331.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.39, allocations: 0.9198 MB / 332.5 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.3906, allocations: 194.5 kB / 332.7 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004256/0.391, allocations: 147.1 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.391, allocations: 1.469 kB / 332.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.3911, allocations: 44.2 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.3911, allocations: 1.5 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001612/0.3927, allocations: 0.5388 MB / 333.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3928, allocations: 51.41 kB / 333.5 MB, free: 11.52 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002382/0.393, allocations: 224.2 kB / 333.7 MB, free: 11.28 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.393, allocations: 33.7 kB / 333.8 MB, free: 11.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3932, allocations: 175.8 kB / 333.9 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.3933, allocations: 63.09 kB / 334 MB, free: 11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/0.3933, allocations: 45.7 kB / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3935, allocations: 330.8 kB / 334.4 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3936, allocations: 72.83 kB / 334.4 MB, free: 10.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.3939, allocations: 117.9 kB / 334.6 MB, free: 10.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.3943, allocations: 181.9 kB / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3943, allocations: 0 / 334.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008012/0.3951, allocations: 345.6 kB / 335.1 MB, free: 9.859 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3951, allocations: 4 kB / 335.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.3952, allocations: 16.11 kB / 335.1 MB, free: 9.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005688/0.3957, allocations: 100.8 kB / 335.2 MB, free: 9.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.396, allocations: 55.91 kB / 335.2 MB, free: 9.684 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002441/0.3984, allocations: 1.923 MB / 337.2 MB, free: 7.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.3986, allocations: 27.73 kB / 337.2 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.3986, allocations: 8 kB / 337.2 MB, free: 7.586 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001742/0.3988, allocations: 148.1 kB / 337.3 MB, free: 7.438 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001328/0.399, allocations: 114 kB / 337.5 MB, free: 7.305 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002011/0.3992, allocations: 166 kB / 337.6 MB, free: 7.121 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.3992, allocations: 7.922 kB / 337.6 MB, free: 7.113 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0003844/0.3996, allocations: 246 kB / 337.9 MB, free: 6.863 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.3996, allocations: 4 kB / 337.9 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3996, allocations: 4 kB / 337.9 MB, free: 6.855 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.3997, allocations: 56.95 kB / 337.9 MB, free: 6.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3999, allocations: 43.92 kB / 338 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4012, allocations: 1.72 MB / 339.7 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.4013, allocations: 19.83 kB / 339.7 MB, free: 4.879 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.4013, allocations: 8 kB / 339.7 MB, free: 4.871 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.0001421/0.4015, allocations: 196.3 kB / 339.9 MB, free: 4.672 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.4015, allocations: 15.81 kB / 339.9 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.4016, allocations: 29.86 kB / 340 MB, free: 4.629 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4016, allocations: 3.938 kB / 340 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4016, allocations: 0 / 340 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4016, allocations: 0 / 340 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009446/0.4026, allocations: 0.6318 MB / 340.6 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4026, allocations: 4 kB / 340.6 MB, free: 3.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.4027, allocations: 31.92 kB / 340.6 MB, free: 3.898 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.403, allocations: 72.8 kB / 340.7 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.403, allocations: 4 kB / 340.7 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.4049, allocations: 1.869 MB / 342.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4049, allocations: 0 / 342.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.4056, allocations: 422.4 kB / 343 MB, free: 1.383 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.4057, allocations: 96.89 kB / 343.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.4057, allocations: 8 kB / 343.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.4059, allocations: 20.05 kB / 343.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.406, allocations: 15.92 kB / 343.1 MB, free: 1.227 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.406, allocations: 11.92 kB / 343.1 MB, free: 1.215 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.4061, allocations: 169.6 kB / 343.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4061, allocations: 0 / 343.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006306/0.4068, allocations: 123.7 kB / 343.4 MB, free: 0.9297 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.000148/0.4069, allocations: 99.25 kB / 343.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009597/0.4079, allocations: 0.5529 MB / 344.1 MB, free: 252 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4079, allocations: 4.25 kB / 344.1 MB, free: 248 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.4082, allocations: 210.5 kB / 344.3 MB, free: 24 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.4087, allocations: 40.62 kB / 344.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.4104, allocations: 0.7538 MB / 345.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4107, allocations: 0.7483 MB / 345.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4108, allocations: 21.94 kB / 345.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.4109, allocations: 19.44 kB / 345.9 MB, free: 14.39 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4109, allocations: 4 kB / 345.9 MB, free: 14.38 MB / 286.1 MB Notification: Performance of Templates: time 0.006923/0.4178, allocations: 3.251 MB / 349.1 MB, free: 11.13 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)