Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009716/0.0009715, allocations: 93.83 kB / 16.3 MB, free: 5.992 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.001056/0.001056, allocations: 182.6 kB / 17.19 MB, free: 5.906 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.359/1.359, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0004819/0.0004822, allocations: 14.81 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007427/0.2489, allocations: 5.988 MB / 333.7 MB, free: 12.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.2616, allocations: 9.117 MB / 342.8 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.2632, allocations: 35.69 kB / 342.8 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001922/0.2651, allocations: 0.5599 MB / 343.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.2694, allocations: 1.036 MB / 344.4 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.2712, allocations: 463.3 kB / 344.9 MB, free: 2.297 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004621/0.2758, allocations: 2.373 MB / 347.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.2764, allocations: 243.2 kB / 347.5 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006263/0.277, allocations: 398 kB / 347.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.2775, allocations: 481 kB / 348.3 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/0.2776, allocations: 32 kB / 348.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.2794, allocations: 0.6752 MB / 349.1 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.2795, allocations: 147 kB / 349.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.2799, allocations: 316.8 kB / 349.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.2812, allocations: 1.365 MB / 350.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2812, allocations: 4 kB / 350.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2812, allocations: 0 / 350.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.2813, allocations: 4 kB / 350.9 MB, free: 12.25 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.002662/0.2839, allocations: 1.776 MB / 352.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.284, allocations: 8.031 kB / 352.7 MB, free: 10.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2842, allocations: 197.7 kB / 352.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.2861, allocations: 1.256 MB / 354.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.2861, allocations: 32.94 kB / 354.1 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.168e-05/0.2862, allocations: 44 kB / 354.2 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.2871, allocations: 0.5197 MB / 354.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2872, allocations: 0 / 354.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.2872, allocations: 16 kB / 354.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.2873, allocations: 19.98 kB / 354.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.2881, allocations: 500 kB / 355.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003053/0.2912, allocations: 2.113 MB / 357.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2922, allocations: 0.7315 MB / 358.1 MB, free: 4.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00867/0.3009, allocations: 6.548 MB / 364.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005954/0.3016, allocations: 306.5 kB / 364.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 3.366e-06/0.3016, allocations: 0 / 364.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.00443/0.306, allocations: 2.162 MB / 367.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3061, allocations: 63.8 kB / 367.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3079, allocations: 1.28 MB / 368.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.3079, allocations: 37.7 kB / 368.5 MB, free: 9.305 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.3086, allocations: 0.7111 MB / 369.2 MB, free: 8.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.3088, allocations: 205 kB / 369.4 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.3088, allocations: 12 kB / 369.4 MB, free: 8.375 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.309, allocations: 337.9 kB / 369.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.3094, allocations: 197.6 kB / 369.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.3099, allocations: 372.4 kB / 370.3 MB, free: 7.422 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3104, allocations: 258.7 kB / 370.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3104, allocations: 4 kB / 370.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002068/0.3125, allocations: 0.9302 MB / 371.5 MB, free: 6.227 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.3125, allocations: 8 kB / 371.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/0.3127, allocations: 59.98 kB / 371.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.3132, allocations: 160.2 kB / 371.7 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.3137, allocations: 115.8 kB / 371.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.3169, allocations: 2.339 MB / 374.1 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.3175, allocations: 32.03 kB / 374.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.3175, allocations: 32.09 kB / 374.2 MB, free: 3.348 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.0005922/0.3181, allocations: 278.1 kB / 374.5 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.3183, allocations: 189.8 kB / 374.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.3205, allocations: 0.9138 MB / 375.6 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3205, allocations: 4 kB / 375.6 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3205, allocations: 7.953 kB / 375.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3205, allocations: 0 / 375.6 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3218, allocations: 0.8592 MB / 376.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.523e-05/0.3218, allocations: 51.98 kB / 376.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.3222, allocations: 75.89 kB / 376.6 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003829/0.3225, allocations: 143 kB / 376.7 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.3226, allocations: 27.81 kB / 376.7 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.3253, allocations: 2.323 MB / 379.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3253, allocations: 0 / 379.1 MB, free: 14.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.3272, allocations: 1.092 MB / 380.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/0.3276, allocations: 250.9 kB / 380.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3277, allocations: 12 kB / 380.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3281, allocations: 27.92 kB / 380.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3282, allocations: 48.33 kB / 380.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.692e-05/0.3283, allocations: 27.98 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001142/0.3294, allocations: 0.8421 MB / 381.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3294, allocations: 3.938 kB / 381.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009453/0.3304, allocations: 379.8 kB / 381.7 MB, free: 11.58 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.0006509/0.331, allocations: 420.2 kB / 382.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3327, allocations: 0.8602 MB / 383 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3327, allocations: 0 / 383 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.3337, allocations: 0.5944 MB / 383.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.3342, allocations: 178.3 kB / 383.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.3381, allocations: 2.74 MB / 386.5 MB, free: 6.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.3388, allocations: 1.205 MB / 387.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005925/0.3394, allocations: 183.2 kB / 387.9 MB, free: 5.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3396, allocations: 83.44 kB / 388 MB, free: 5.207 MB / 318.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3396, allocations: 3.938 kB / 388 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Templates: time 0.02347/0.3631, allocations: 12.18 MB / 400.1 MB, free: 8.996 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) Environment - environmentSimulation: