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.0008634/0.0008634, allocations: 92 kB / 15.06 MB, free: 1.098 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.001028/0.001029, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005097/0.0005098, allocations: 15.97 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.002668/0.3226, allocations: 2.265 MB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3241, allocations: 0.672 MB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.3242, allocations: 8.344 kB / 329.4 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.3244, allocations: 37.34 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.3246, allocations: 68.14 kB / 329.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3249, allocations: 74.44 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004431/0.3254, allocations: 309.2 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.3256, allocations: 75.98 kB / 330 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.3259, allocations: 113.1 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3261, allocations: 122.2 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.3261, allocations: 15.06 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.3262, allocations: 19.19 kB / 330.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.55e-05/0.3263, allocations: 46.52 kB / 330.3 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.3264, allocations: 70.7 kB / 330.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3266, allocations: 232.6 kB / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.3267, allocations: 0 / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3267, allocations: 0 / 330.6 MB, free: 14.28 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3267, allocations: 1.125 kB / 330.6 MB, free: 14.28 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.001076/0.3278, allocations: 0.5475 MB / 331.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.3278, allocations: 13.16 kB / 331.2 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.393e-05/0.3279, allocations: 30.91 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.3283, allocations: 258.6 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.3283, allocations: 21.88 kB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.3284, allocations: 24 kB / 331.5 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.3289, allocations: 242.8 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3289, allocations: 0 / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.329, allocations: 10.16 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.329, allocations: 6.469 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.3295, allocations: 231.3 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3313, allocations: 0.9404 MB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.3318, allocations: 194.9 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.3322, allocations: 158.2 kB / 333.2 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3322, allocations: 6.156 kB / 333.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.3323, allocations: 32.69 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3323, allocations: 0 / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=18): time 0.001761/0.334, allocations: 0.6205 MB / 333.9 MB, free: 11.87 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3341, allocations: 55.39 kB / 334 MB, free: 11.8 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.3344, allocations: 232.1 kB / 334.2 MB, free: 11.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3344, allocations: 29.7 kB / 334.2 MB, free: 11.53 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3345, allocations: 171.9 kB / 334.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.3346, allocations: 59.11 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.3346, allocations: 4 kB / 334.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3348, allocations: 334.8 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3349, allocations: 71.91 kB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3351, allocations: 122 kB / 335 MB, free: 10.74 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3353, allocations: 75.98 kB / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3353, allocations: 0 / 335 MB, free: 10.67 MB / 270.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000731/0.336, allocations: 369.9 kB / 335.4 MB, free: 10.3 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/0.3361, allocations: 138.4 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3361, allocations: 0 / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.3365, allocations: 80.75 kB / 335.6 MB, free: 10.05 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.3367, allocations: 47.97 kB / 335.7 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.339, allocations: 1.814 MB / 337.5 MB, free: 8.059 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3392, allocations: 27.86 kB / 337.5 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3393, allocations: 8 kB / 337.5 MB, free: 8.023 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.3393, allocations: 4 kB / 337.5 MB, free: 8.02 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003714/0.3397, allocations: 216.4 kB / 337.7 MB, free: 7.805 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3397, allocations: 4 kB / 337.7 MB, free: 7.801 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001182/0.3398, allocations: 37.03 kB / 337.8 MB, free: 7.762 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.34, allocations: 63.78 kB / 337.8 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3414, allocations: 1.534 MB / 339.4 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.3416, allocations: 19.75 kB / 339.4 MB, free: 6.016 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.3416, allocations: 8 kB / 339.4 MB, free: 6.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.3418, allocations: 221.1 kB / 339.6 MB, free: 5.781 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.3419, allocations: 15.81 kB / 339.6 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.342, allocations: 29.86 kB / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.342, allocations: 0 / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.342, allocations: 0 / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.342, allocations: 0 / 339.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3431, allocations: 0.6511 MB / 340.3 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3431, allocations: 4 kB / 340.3 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3433, allocations: 27.98 kB / 340.3 MB, free: 4.996 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/0.3435, allocations: 73 kB / 340.4 MB, free: 4.922 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.3435, allocations: 11.98 kB / 340.4 MB, free: 4.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.3455, allocations: 1.736 MB / 342.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3455, allocations: 0 / 342.1 MB, free: 3.039 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.3462, allocations: 446.1 kB / 342.6 MB, free: 2.586 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.537e-05/0.3463, allocations: 104.8 kB / 342.7 MB, free: 2.465 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.3464, allocations: 4 kB / 342.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3466, allocations: 23.98 kB / 342.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.3466, allocations: 12.05 kB / 342.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3466, allocations: 4 kB / 342.7 MB, free: 2.422 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001639/0.3468, allocations: 165.8 kB / 342.9 MB, free: 2.262 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3468, allocations: 0 / 342.9 MB, free: 2.262 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006388/0.3474, allocations: 127.7 kB / 343 MB, free: 2.137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.3476, allocations: 107.2 kB / 343.1 MB, free: 2.023 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3487, allocations: 0.5633 MB / 343.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3487, allocations: 0 / 343.7 MB, free: 1.434 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.349, allocations: 219.3 kB / 343.9 MB, free: 1.207 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.3495, allocations: 32.66 kB / 343.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.3515, allocations: 0.9491 MB / 344.9 MB, free: 200 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.352, allocations: 0.7561 MB / 345.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.3521, allocations: 17.95 kB / 345.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.3522, allocations: 19.44 kB / 345.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3522, allocations: 0 / 345.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of Templates: time 0.007806/0.36, allocations: 2.952 MB / 348.6 MB, free: 12.42 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)