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.001643/0.001643, allocations: 108 kB / 15.61 MB, free: 152 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.002539/0.002539, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.803/1.803, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.00161/0.00161, allocations: 55.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.357, allocations: 46.62 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005612/0.3627, allocations: 2.686 MB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.365, allocations: 0.7158 MB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.3653, allocations: 4.219 kB / 328.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.3656, allocations: 48.95 kB / 328.8 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.3658, allocations: 84.62 kB / 328.9 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.3662, allocations: 94.47 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.3667, allocations: 340.6 kB / 329.3 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.367, allocations: 103.9 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.3673, allocations: 135.1 kB / 329.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3675, allocations: 135 kB / 329.6 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.933e-05/0.3676, allocations: 27.62 kB / 329.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.3677, allocations: 28.16 kB / 329.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.663e-05/0.3678, allocations: 66.38 kB / 329.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.3681, allocations: 149.6 kB / 329.9 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.3686, allocations: 317.5 kB / 330.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.3686, allocations: 1.188 kB / 330.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.3686, allocations: 0 / 330.2 MB, free: 14.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3687, allocations: 0 / 330.2 MB, free: 14.12 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.001385/0.37, allocations: 0.5883 MB / 330.8 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.371e-05/0.3701, allocations: 14.28 kB / 330.8 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.3702, allocations: 28.31 kB / 330.9 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.3707, allocations: 266.6 kB / 331.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.3707, allocations: 18.97 kB / 331.1 MB, free: 13.31 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.3708, allocations: 28.62 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.3715, allocations: 245.7 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.3715, allocations: 0 / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.3715, allocations: 11.41 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3716, allocations: 6 kB / 331.4 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.3721, allocations: 219.5 kB / 331.6 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.3742, allocations: 0.9236 MB / 332.6 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.3748, allocations: 186.6 kB / 332.7 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.3753, allocations: 153.8 kB / 332.9 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.3753, allocations: 2.312 kB / 332.9 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.3754, allocations: 37.09 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/0.3754, allocations: 0 / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.002081/0.3775, allocations: 0.5415 MB / 333.5 MB, free: 11.56 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.3776, allocations: 51.41 kB / 333.5 MB, free: 11.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.3779, allocations: 236.2 kB / 333.7 MB, free: 11.25 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.378, allocations: 25.7 kB / 333.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3782, allocations: 179.8 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/0.3782, allocations: 59.09 kB / 334 MB, free: 10.98 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3783, allocations: 49.7 kB / 334.1 MB, free: 10.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000369/0.3787, allocations: 330.8 kB / 334.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3789, allocations: 68.83 kB / 334.4 MB, free: 10.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3791, allocations: 118 kB / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.3795, allocations: 185.9 kB / 334.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3795, allocations: 0 / 334.7 MB, free: 10.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008261/0.3803, allocations: 341.7 kB / 335.1 MB, free: 9.836 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.3804, allocations: 11.94 kB / 335.1 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.3804, allocations: 0 / 335.1 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/0.381, allocations: 112.8 kB / 335.2 MB, free: 9.711 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.3813, allocations: 47.91 kB / 335.2 MB, free: 9.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.3841, allocations: 1.931 MB / 337.2 MB, free: 7.594 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3843, allocations: 23.73 kB / 337.2 MB, free: 7.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.3844, allocations: 12 kB / 337.2 MB, free: 7.559 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002036/0.3846, allocations: 148.1 kB / 337.4 MB, free: 7.41 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001495/0.3847, allocations: 106 kB / 337.5 MB, free: 7.285 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002762/0.385, allocations: 165.8 kB / 337.6 MB, free: 7.102 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.385, allocations: 3.938 kB / 337.6 MB, free: 7.098 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004523/0.3855, allocations: 258 kB / 337.9 MB, free: 6.836 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3855, allocations: 8 kB / 337.9 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3855, allocations: 0 / 337.9 MB, free: 6.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.3857, allocations: 48.77 kB / 337.9 MB, free: 6.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3859, allocations: 48.11 kB / 338 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3875, allocations: 1.725 MB / 339.7 MB, free: 4.871 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3877, allocations: 15.88 kB / 339.7 MB, free: 4.855 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3877, allocations: 12 kB / 339.7 MB, free: 4.844 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.0001734/0.3879, allocations: 192.2 kB / 339.9 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.3879, allocations: 23.88 kB / 339.9 MB, free: 4.625 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.388, allocations: 25.86 kB / 340 MB, free: 4.602 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.388, allocations: 7.938 kB / 340 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.388, allocations: 0 / 340 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.388, allocations: 3.984 kB / 340 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.389, allocations: 0.6277 MB / 340.6 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.389, allocations: 0 / 340.6 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3892, allocations: 31.92 kB / 340.6 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.3894, allocations: 64.8 kB / 340.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3895, allocations: 4 kB / 340.7 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002737/0.3922, allocations: 1.876 MB / 342.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3922, allocations: 0 / 342.6 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007538/0.393, allocations: 426.2 kB / 343 MB, free: 1.352 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.3931, allocations: 92.89 kB / 343.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3931, allocations: 4 kB / 343.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3933, allocations: 19.98 kB / 343.1 MB, free: 1.219 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3934, allocations: 15.92 kB / 343.1 MB, free: 1.203 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.3934, allocations: 8.062 kB / 343.1 MB, free: 1.195 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.3935, allocations: 169.6 kB / 343.3 MB, free: 1.031 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3936, allocations: 0 / 343.3 MB, free: 1.031 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006282/0.3942, allocations: 127.7 kB / 343.4 MB, free: 0.9062 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.0002017/0.3944, allocations: 107.2 kB / 343.5 MB, free: 0.793 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3955, allocations: 0.5486 MB / 344.1 MB, free: 224 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3955, allocations: 0 / 344.1 MB, free: 224 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.3958, allocations: 211.2 kB / 344.3 MB, free: 0 / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3964, allocations: 44.78 kB / 344.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.3983, allocations: 0.7421 MB / 345.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.3988, allocations: 0.7522 MB / 345.8 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.3989, allocations: 21.94 kB / 345.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.399, allocations: 19.44 kB / 345.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of SimCode: time 1.052e-06/0.399, allocations: 0 / 345.9 MB, free: 14.37 MB / 286.1 MB Notification: Performance of Templates: time 0.008583/0.4076, allocations: 3.26 MB / 349.1 MB, free: 11.11 MB / 286.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)