Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, 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.002012/0.002012, allocations: 195.5 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.394/1.394, 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.00126/0.00126, allocations: 51.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2042, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007421/0.2117, allocations: 7.358 MB / 332.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.2247, allocations: 10.36 MB / 343 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2257, allocations: 39.69 kB / 343.1 MB, free: 2.102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.2276, allocations: 0.6998 MB / 343.8 MB, free: 1.398 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.2317, allocations: 1.169 MB / 344.9 MB, free: 228 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.2336, allocations: 0.6661 MB / 345.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.2374, allocations: 2.479 MB / 348.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005501/0.2379, allocations: 287.8 kB / 348.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.2387, allocations: 453.8 kB / 348.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.2395, allocations: 0.524 MB / 349.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.2397, allocations: 52 kB / 349.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2417, allocations: 0.6987 MB / 350.1 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.242, allocations: 190.8 kB / 350.3 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.2428, allocations: 0.6793 MB / 350.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002538/0.2454, allocations: 1.919 MB / 352.9 MB, free: 8.234 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.2454, allocations: 8 kB / 352.9 MB, free: 8.227 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2454, allocations: 3.938 kB / 352.9 MB, free: 8.223 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.037e-05/0.2455, allocations: 0 / 352.9 MB, free: 8.223 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003592/0.2491, allocations: 1.977 MB / 354.8 MB, free: 6.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.2492, allocations: 8.031 kB / 354.9 MB, free: 6.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.2495, allocations: 202.6 kB / 355.1 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.2514, allocations: 1.341 MB / 356.4 MB, free: 4.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.2514, allocations: 37 kB / 356.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.2515, allocations: 40 kB / 356.5 MB, free: 4.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.2524, allocations: 0.5158 MB / 357 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2524, allocations: 0 / 357 MB, free: 3.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.2525, allocations: 16 kB / 357 MB, free: 3.977 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.2525, allocations: 19.98 kB / 357 MB, free: 3.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.2535, allocations: 480 kB / 357.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.2566, allocations: 2.101 MB / 359.6 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2576, allocations: 0.7001 MB / 360.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007662/0.2584, allocations: 0.5135 MB / 360.8 MB, free: 40 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008021/0.2664, allocations: 6.501 MB / 367.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.267, allocations: 290.5 kB / 367.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 3.006e-06/0.267, allocations: 0 / 367.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003707/0.2707, allocations: 1.971 MB / 369.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2708, allocations: 59.83 kB / 369.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.2723, allocations: 1.296 MB / 370.9 MB, free: 4.859 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2724, allocations: 33.7 kB / 370.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.273, allocations: 0.715 MB / 371.7 MB, free: 4.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.2731, allocations: 201.1 kB / 371.9 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.2733, allocations: 122.2 kB / 372 MB, free: 3.777 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2734, allocations: 329.9 kB / 372.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004389/0.2739, allocations: 197.6 kB / 372.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.2744, allocations: 359.8 kB / 372.8 MB, free: 2.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.2767, allocations: 1.135 MB / 374 MB, free: 1.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.2767, allocations: 4 kB / 374 MB, free: 1.625 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001611/0.2783, allocations: 0.9263 MB / 374.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.2784, allocations: 11.98 kB / 374.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.163e-05/0.2785, allocations: 52 kB / 375 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/0.2789, allocations: 159.8 kB / 375.1 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.2793, allocations: 115.8 kB / 375.2 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.2822, allocations: 2.513 MB / 377.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.2827, allocations: 31.97 kB / 377.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.2828, allocations: 32 kB / 377.8 MB, free: 13.64 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: T2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real T1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004563/0.2832, allocations: 281.6 kB / 378.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.2835, allocations: 185.8 kB / 378.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.2855, allocations: 0.8865 MB / 379.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.2855, allocations: 4 kB / 379.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2855, allocations: 4 kB / 379.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2855, allocations: 0 / 379.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2867, allocations: 0.8748 MB / 380 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.819e-05/0.2868, allocations: 56 kB / 380.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.2871, allocations: 63.89 kB / 380.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.2875, allocations: 155 kB / 380.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.2875, allocations: 12 kB / 380.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.2903, allocations: 2.501 MB / 382.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2903, allocations: 0 / 382.8 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.2922, allocations: 1.065 MB / 383.9 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003281/0.2926, allocations: 250.9 kB / 384.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.2927, allocations: 12 kB / 384.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.2931, allocations: 19.98 kB / 384.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.2933, allocations: 44.38 kB / 384.2 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.22e-05/0.2933, allocations: 20 kB / 384.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.2944, allocations: 0.8617 MB / 385.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2944, allocations: 3.938 kB / 385.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009391/0.2953, allocations: 379.8 kB / 385.5 MB, free: 5.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007644/0.2961, allocations: 464.1 kB / 385.9 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.2978, allocations: 0.8561 MB / 386.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2978, allocations: 4.062 kB / 386.8 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.2988, allocations: 0.5823 MB / 387.4 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007287/0.2996, allocations: 182.3 kB / 387.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.3032, allocations: 2.421 MB / 390 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.304, allocations: 1.17 MB / 391.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006015/0.3046, allocations: 179.2 kB / 391.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3047, allocations: 91.42 kB / 391.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3048, allocations: 0 / 391.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.02742/0.3322, allocations: 13.35 MB / 404.7 MB, free: 2.312 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)