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.0012/0.0012, allocations: 116.1 kB / 18.46 MB, free: 4.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001187/0.001187, allocations: 214.8 kB / 19.42 MB, free: 3.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2164, allocations: 50.54 MB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00723/0.2237, allocations: 7.522 MB / 417.4 MB, free: 10 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2347, allocations: 10.73 MB / 428.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006846/0.2354, allocations: 75.31 kB / 428.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2368, allocations: 0.7178 MB / 429 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.2391, allocations: 1.188 MB / 430.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2404, allocations: 0.6779 MB / 430.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.2437, allocations: 2.56 MB / 433.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003815/0.2441, allocations: 291.9 kB / 433.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004767/0.2446, allocations: 0.4898 MB / 434.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.2451, allocations: 0.5317 MB / 434.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.2452, allocations: 60 kB / 434.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.2467, allocations: 0.7727 MB / 435.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2468, allocations: 186.8 kB / 435.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005498/0.2474, allocations: 0.6754 MB / 436.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.2494, allocations: 1.956 MB / 438.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2494, allocations: 4 kB / 438.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2494, allocations: 0 / 438.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2494, allocations: 0 / 438.4 MB, free: 4.984 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.002501/0.2519, allocations: 2.046 MB / 440.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.252, allocations: 12.03 kB / 440.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.2522, allocations: 207.7 kB / 440.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.2539, allocations: 1.351 MB / 442 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.034e-05/0.2539, allocations: 36.94 kB / 442 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.254, allocations: 47.95 kB / 442 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.2549, allocations: 0.508 MB / 442.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2549, allocations: 0 / 442.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.255, allocations: 20 kB / 442.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.255, allocations: 19.98 kB / 442.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.2559, allocations: 472.1 kB / 443.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.2587, allocations: 2.105 MB / 445.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009531/0.2597, allocations: 0.7128 MB / 445.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.2604, allocations: 0.5173 MB / 446.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005467/0.2659, allocations: 4.908 MB / 451.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005504/0.2665, allocations: 317.9 kB / 451.6 MB, free: 6.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.275e-06/0.2665, allocations: 0 / 451.6 MB, free: 6.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004679/0.2712, allocations: 2.432 MB / 454 MB, free: 4.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.2712, allocations: 59.84 kB / 454.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.2726, allocations: 1.288 MB / 455.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2726, allocations: 33.7 kB / 455.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005657/0.2732, allocations: 0.7041 MB / 456.1 MB, free: 2.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.2734, allocations: 230 kB / 456.4 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.2736, allocations: 126.3 kB / 456.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2737, allocations: 334 kB / 456.8 MB, free: 1.504 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.2741, allocations: 213.6 kB / 457 MB, free: 1.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.2747, allocations: 364.5 kB / 457.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.2757, allocations: 0.6073 MB / 458 MB, free: 228 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2757, allocations: 4 kB / 458 MB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001592/0.2773, allocations: 0.9745 MB / 459 MB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2773, allocations: 8 kB / 459 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.858e-05/0.2774, allocations: 63.98 kB / 459 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004763/0.2779, allocations: 184.3 kB / 459.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.2783, allocations: 107.8 kB / 459.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003185/0.2815, allocations: 2.76 MB / 462.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.2819, allocations: 24.03 kB / 462.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.282, allocations: 36 kB / 462.1 MB, free: 11.93 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.000382/0.2824, allocations: 281.6 kB / 462.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.2826, allocations: 190.8 kB / 462.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.2845, allocations: 0.972 MB / 463.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2845, allocations: 0 / 463.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.017e-05/0.2846, allocations: 67.98 kB / 463.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.2849, allocations: 259.9 kB / 463.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.285, allocations: 12 kB / 463.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2854, allocations: 19.98 kB / 463.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.2855, allocations: 64.28 kB / 464 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001893/0.2874, allocations: 0.8345 MB / 464.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001735/0.2892, allocations: 1.198 MB / 466 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004506/0.2896, allocations: 259.5 kB / 466.3 MB, free: 7.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009849/0.2906, allocations: 0.8574 MB / 467.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of Backend: time 5.71e-07/0.2906, allocations: 0 / 467.1 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.2931, allocations: 1.271 MB / 468.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of SimCode: time 0.003487/0.2966, allocations: 3.162 MB / 471.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of Templates: time 0.02625/0.3229, allocations: 15.85 MB / 487.4 MB, free: 2.504 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)