Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001049/0.001049, allocations: 111 kB / 17.75 MB, free: 5.355 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.001021/0.001021, allocations: 186.5 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009819/0.0009819, allocations: 47.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2284, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007559/0.236, allocations: 7.5 MB / 408.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2486, allocations: 10.72 MB / 419.6 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2497, allocations: 75.31 kB / 419.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.2514, allocations: 0.7074 MB / 420.4 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.2547, allocations: 1.204 MB / 421.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.2564, allocations: 0.6701 MB / 422.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003598/0.26, allocations: 2.533 MB / 424.8 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004579/0.2605, allocations: 279.9 kB / 425.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006588/0.2612, allocations: 0.4976 MB / 425.6 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.2619, allocations: 0.5317 MB / 426.1 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.262, allocations: 56.05 kB / 426.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.2637, allocations: 0.7687 MB / 426.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2639, allocations: 186.8 kB / 427.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.2646, allocations: 0.6754 MB / 427.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.2668, allocations: 1.942 MB / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2668, allocations: 0 / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2668, allocations: 0 / 429.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.812e-05/0.2668, allocations: 0 / 429.7 MB, free: 12.41 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.003037/0.2699, allocations: 1.981 MB / 431.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2699, allocations: 12.03 kB / 431.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.2702, allocations: 198.6 kB / 431.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.2721, allocations: 1.337 MB / 433.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2721, allocations: 44.94 kB / 433.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.517e-05/0.2722, allocations: 40 kB / 433.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009644/0.2732, allocations: 0.5119 MB / 433.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2732, allocations: 0 / 433.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.2733, allocations: 16 kB / 433.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2733, allocations: 19.98 kB / 433.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009322/0.2742, allocations: 472.1 kB / 434.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/0.2773, allocations: 2.089 MB / 436.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.2783, allocations: 0.7124 MB / 437.2 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.279, allocations: 0.5134 MB / 437.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/0.2868, allocations: 6.513 MB / 444.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/0.2874, allocations: 290.5 kB / 444.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=55): time 2.675e-06/0.2874, allocations: 4 kB / 444.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.003635/0.2911, allocations: 1.963 MB / 446.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.2911, allocations: 59.78 kB / 446.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.2926, allocations: 1.304 MB / 447.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.2927, allocations: 29.7 kB / 447.8 MB, free: 8.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.2932, allocations: 0.715 MB / 448.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2934, allocations: 205 kB / 448.7 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.2936, allocations: 122.2 kB / 448.9 MB, free: 7.945 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2937, allocations: 330 kB / 449.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.2941, allocations: 197.5 kB / 449.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.2947, allocations: 373.5 kB / 449.7 MB, free: 6.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.2956, allocations: 0.5987 MB / 450.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2957, allocations: 0 / 450.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001567/0.2972, allocations: 0.9143 MB / 451.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2973, allocations: 7.938 kB / 451.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-05/0.2974, allocations: 56 kB / 451.3 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.2978, allocations: 161.2 kB / 451.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.2982, allocations: 111.8 kB / 451.6 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.3009, allocations: 2.52 MB / 454.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.3014, allocations: 24.03 kB / 454.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.3015, allocations: 32 kB / 454.2 MB, free: 2.348 MB / 366.1 MB 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.0003894/0.3019, allocations: 277.6 kB / 454.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3021, allocations: 185.9 kB / 454.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001737/0.3038, allocations: 0.8941 MB / 455.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3038, allocations: 0 / 455.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-05/0.3039, allocations: 55.97 kB / 455.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000341/0.3043, allocations: 251 kB / 455.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.3044, allocations: 11.98 kB / 455.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.3048, allocations: 23.98 kB / 455.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3049, allocations: 52.36 kB / 455.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001774/0.3067, allocations: 0.7562 MB / 456.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001608/0.3083, allocations: 1.09 MB / 457.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004285/0.3088, allocations: 231.5 kB / 458 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.3098, allocations: 0.8578 MB / 458.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Backend: time 5.61e-07/0.3099, allocations: 0 / 458.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.3125, allocations: 1.199 MB / 460 MB, free: 12.39 MB / 382.1 MB Notification: Performance of SimCode: time 0.003839/0.3164, allocations: 3.08 MB / 463.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of Templates: time 0.02794/0.3443, allocations: 15.3 MB / 478.4 MB, free: 9.992 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)