Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 109.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 63.89 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2322, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006879/0.2391, allocations: 7.51 MB / 417.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.2501, allocations: 10.73 MB / 428.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.2511, allocations: 79.25 kB / 428.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.2527, allocations: 0.71 MB / 429 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.2555, allocations: 1.189 MB / 430.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.257, allocations: 0.6739 MB / 430.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003291/0.2604, allocations: 2.56 MB / 433.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.2608, allocations: 283.9 kB / 433.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.2613, allocations: 0.4976 MB / 434.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.2618, allocations: 0.5278 MB / 434.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.519e-05/0.2619, allocations: 59.98 kB / 434.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2634, allocations: 0.761 MB / 435.5 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2636, allocations: 198.7 kB / 435.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.2641, allocations: 0.6754 MB / 436.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.266, allocations: 1.942 MB / 438.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2661, allocations: 0 / 438.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2661, allocations: 0 / 438.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2661, allocations: 0 / 438.3 MB, free: 5.094 MB / 350.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.002703/0.2688, allocations: 1.993 MB / 440.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2688, allocations: 8.031 kB / 440.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.2691, allocations: 198.6 kB / 440.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.2709, allocations: 1.341 MB / 441.9 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.271, allocations: 32.94 kB / 441.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.2711, allocations: 52 kB / 441.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.272, allocations: 0.508 MB / 442.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.272, allocations: 0 / 442.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.241e-05/0.2721, allocations: 20 kB / 442.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.2721, allocations: 12 kB / 442.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008958/0.273, allocations: 472.1 kB / 442.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.2759, allocations: 2.096 MB / 445 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2769, allocations: 0.7231 MB / 445.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.2777, allocations: 0.5057 MB / 446.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005571/0.2833, allocations: 4.908 MB / 451.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005343/0.2838, allocations: 314 kB / 451.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.084e-06/0.2838, allocations: 0 / 451.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00466/0.2885, allocations: 2.406 MB / 453.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2885, allocations: 63.83 kB / 454 MB, free: 4.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.2898, allocations: 1.284 MB / 455.2 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.2899, allocations: 37.7 kB / 455.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.2904, allocations: 0.6997 MB / 456 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.2906, allocations: 224.7 kB / 456.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/0.2908, allocations: 126.2 kB / 456.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2909, allocations: 330 kB / 456.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.2913, allocations: 217.5 kB / 456.8 MB, free: 1.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.2918, allocations: 360.5 kB / 457.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009538/0.2928, allocations: 0.6112 MB / 457.8 MB, free: 468 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2928, allocations: 0 / 457.8 MB, free: 468 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001553/0.2943, allocations: 0.9655 MB / 458.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2944, allocations: 8 kB / 458.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.305e-05/0.2945, allocations: 67.98 kB / 458.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004569/0.2949, allocations: 185.2 kB / 459 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.2954, allocations: 111.8 kB / 459.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.2984, allocations: 2.752 MB / 461.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.2988, allocations: 27.98 kB / 461.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.2989, allocations: 28 kB / 461.9 MB, free: 12.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003498/0.2992, allocations: 273.6 kB / 462.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.2994, allocations: 177.9 kB / 462.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.3012, allocations: 0.9874 MB / 463.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3013, allocations: 3.984 kB / 463.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.917e-05/0.3013, allocations: 60 kB / 463.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.3017, allocations: 255 kB / 463.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.3018, allocations: 12 kB / 463.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.3022, allocations: 19.97 kB / 463.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3023, allocations: 68.23 kB / 463.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001928/0.3043, allocations: 0.8344 MB / 464.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001713/0.306, allocations: 1.19 MB / 465.8 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004442/0.3065, allocations: 255.5 kB / 466.1 MB, free: 7.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009319/0.3074, allocations: 0.8496 MB / 466.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of Backend: time 6.81e-07/0.3074, allocations: 4 kB / 466.9 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.3098, allocations: 1.255 MB / 468.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of SimCode: time 0.003389/0.3132, allocations: 3.119 MB / 471.3 MB, free: 2.652 MB / 382.1 MB Notification: Performance of Templates: time 0.0258/0.339, allocations: 15.85 MB / 487.1 MB, free: 2.84 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)