Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008705/0.0008707, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001285/0.001285, allocations: 168.7 kB / 15.95 MB, free: 204 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.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004657/0.0004658, allocations: 10.66 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2454, allocations: 47.58 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.006384/0.2519, allocations: 6.421 MB / 332.9 MB, free: 12.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2649, allocations: 9.494 MB / 342.4 MB, free: 3.559 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.266, allocations: 39.69 kB / 342.4 MB, free: 3.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2678, allocations: 0.5321 MB / 343 MB, free: 2.984 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.2714, allocations: 0.9003 MB / 343.9 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.273, allocations: 454.8 kB / 344.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003939/0.277, allocations: 2.3 MB / 346.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.2775, allocations: 251.2 kB / 346.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.278, allocations: 398 kB / 347.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.2785, allocations: 485 kB / 347.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.2786, allocations: 32 kB / 347.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.2803, allocations: 0.6323 MB / 348.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.2804, allocations: 147 kB / 348.5 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.2808, allocations: 316.8 kB / 348.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.2822, allocations: 1.394 MB / 350.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.2822, allocations: 3.984 kB / 350.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2822, allocations: 3.938 kB / 350.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.2822, allocations: 4 kB / 350.2 MB, free: 11.64 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.002698/0.2849, allocations: 1.776 MB / 352 MB, free: 9.809 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.285, allocations: 11.97 kB / 352 MB, free: 9.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2852, allocations: 201.7 kB / 352.2 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.287, allocations: 1.271 MB / 353.5 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.2871, allocations: 33 kB / 353.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.2872, allocations: 40 kB / 353.6 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009153/0.2881, allocations: 0.5197 MB / 354.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2881, allocations: 0 / 354.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.2882, allocations: 19.98 kB / 354.1 MB, free: 7.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2882, allocations: 19.98 kB / 354.1 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.2891, allocations: 500 kB / 354.6 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.2922, allocations: 2.098 MB / 356.7 MB, free: 4.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.2932, allocations: 0.7238 MB / 357.4 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007519/0.294, allocations: 0.5252 MB / 358 MB, free: 3.68 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007995/0.302, allocations: 6.532 MB / 364.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006211/0.3027, allocations: 306.5 kB / 364.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 3.596e-06/0.3027, allocations: 0 / 364.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.004028/0.3067, allocations: 2.003 MB / 366.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.3068, allocations: 59.84 kB / 366.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.3087, allocations: 1.28 MB / 368.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.3088, allocations: 33.7 kB / 368.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000741/0.3095, allocations: 0.7072 MB / 368.9 MB, free: 7.684 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.3098, allocations: 209 kB / 369.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.3098, allocations: 12 kB / 369.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.31, allocations: 330 kB / 369.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.3104, allocations: 213.5 kB / 369.6 MB, free: 6.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.3109, allocations: 368.4 kB / 370 MB, free: 6.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.3114, allocations: 258.8 kB / 370.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3114, allocations: 0 / 370.2 MB, free: 6.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001686/0.3131, allocations: 0.9342 MB / 371.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.3132, allocations: 8 kB / 371.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-05/0.3133, allocations: 64.05 kB / 371.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.3137, allocations: 148.8 kB / 371.4 MB, free: 5.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.3142, allocations: 123.8 kB / 371.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/0.3171, allocations: 2.294 MB / 373.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.3176, allocations: 39.97 kB / 373.8 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.3177, allocations: 36 kB / 373.9 MB, free: 2.469 MB / 302.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 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * 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 (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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005416/0.3183, allocations: 277.6 kB / 374.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.3185, allocations: 181.8 kB / 374.3 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.3205, allocations: 0.9176 MB / 375.2 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3206, allocations: 4 kB / 375.2 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3206, allocations: 7.938 kB / 375.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3206, allocations: 0 / 375.2 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.3217, allocations: 0.8709 MB / 376.1 MB, free: 144 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.592e-05/0.3218, allocations: 52 kB / 376.2 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.3221, allocations: 71.89 kB / 376.2 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.3225, allocations: 146.8 kB / 376.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.3226, allocations: 20 kB / 376.4 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.3253, allocations: 2.276 MB / 378.7 MB, free: 13.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3253, allocations: 3.953 kB / 378.7 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.3272, allocations: 1.1 MB / 379.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/0.3276, allocations: 250.9 kB / 380 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.3278, allocations: 12 kB / 380 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.3282, allocations: 19.98 kB / 380.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3283, allocations: 48.38 kB / 380.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.3284, allocations: 35.92 kB / 380.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001179/0.3295, allocations: 0.8421 MB / 381 MB, free: 11.11 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3295, allocations: 4 kB / 381 MB, free: 11.11 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001059/0.3306, allocations: 367.8 kB / 381.3 MB, free: 10.75 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 (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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008125/0.3314, allocations: 424.2 kB / 381.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3332, allocations: 0.8602 MB / 382.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3332, allocations: 0 / 382.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3342, allocations: 0.5943 MB / 383.2 MB, free: 8.809 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.3351, allocations: 186.3 kB / 383.4 MB, free: 8.625 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3395, allocations: 2.74 MB / 386.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/0.3405, allocations: 1.181 MB / 387.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006156/0.3411, allocations: 183.2 kB / 387.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3413, allocations: 83.44 kB / 387.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3413, allocations: 0 / 387.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of Templates: time 0.02835/0.3696, allocations: 12.5 MB / 400.1 MB, free: 7.859 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1)