Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00153/0.001531, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001546/0.001546, allocations: 177.3 kB / 15.94 MB, free: 228 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.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0006372/0.0006373, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2574, allocations: 47.58 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.00557/0.263, allocations: 5.983 MB / 332.4 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.2741, allocations: 9.116 MB / 341.5 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.2753, allocations: 35.69 kB / 341.6 MB, free: 4.344 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.2769, allocations: 0.5599 MB / 342.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.2811, allocations: 1.04 MB / 343.2 MB, free: 2.738 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2826, allocations: 455.3 kB / 343.6 MB, free: 2.289 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003796/0.2864, allocations: 2.373 MB / 346 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.2868, allocations: 243.2 kB / 346.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.2873, allocations: 394 kB / 346.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.2877, allocations: 485 kB / 347.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.2878, allocations: 32 kB / 347.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.2892, allocations: 0.6714 MB / 347.8 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.2893, allocations: 155 kB / 347.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.2895, allocations: 312.8 kB / 348.2 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.2907, allocations: 1.368 MB / 349.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2907, allocations: 0 / 349.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2907, allocations: 0 / 349.6 MB, free: 12.25 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.2908, allocations: 0 / 349.6 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.002454/0.2932, allocations: 1.78 MB / 351.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2933, allocations: 8.031 kB / 351.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.2935, allocations: 197.7 kB / 351.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.2953, allocations: 1.256 MB / 352.8 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2953, allocations: 33 kB / 352.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.042e-05/0.2954, allocations: 44 kB / 352.9 MB, free: 8.828 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.2963, allocations: 0.5197 MB / 353.4 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2963, allocations: 0 / 353.4 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.2964, allocations: 16 kB / 353.5 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.2964, allocations: 19.92 kB / 353.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.2973, allocations: 496 kB / 354 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.3002, allocations: 2.117 MB / 356.1 MB, free: 5.582 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.3012, allocations: 0.7277 MB / 356.8 MB, free: 4.809 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007726/0.3089, allocations: 6.552 MB / 363.4 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005516/0.3095, allocations: 302.5 kB / 363.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 3.136e-06/0.3096, allocations: 3.938 kB / 363.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003684/0.3132, allocations: 2.166 MB / 365.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3133, allocations: 67.8 kB / 365.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.3148, allocations: 1.277 MB / 367.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.3149, allocations: 37.7 kB / 367.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/0.3155, allocations: 0.7111 MB / 367.9 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3157, allocations: 209 kB / 368.1 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.3157, allocations: 12 kB / 368.1 MB, free: 8.359 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3159, allocations: 330 kB / 368.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.3163, allocations: 205.6 kB / 368.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.3169, allocations: 372.4 kB / 369 MB, free: 7.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.3173, allocations: 258.7 kB / 369.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3174, allocations: 0 / 369.3 MB, free: 7.156 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001511/0.3189, allocations: 0.9303 MB / 370.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3189, allocations: 12.12 kB / 370.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.258e-05/0.319, allocations: 55.98 kB / 370.3 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.3194, allocations: 155.2 kB / 370.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.3199, allocations: 127.8 kB / 370.5 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.3226, allocations: 2.331 MB / 372.9 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3231, allocations: 28.03 kB / 372.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.3232, allocations: 36 kB / 372.9 MB, free: 3.336 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.0004785/0.3237, allocations: 285.7 kB / 373.2 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3238, allocations: 185.8 kB / 373.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.3257, allocations: 0.9138 MB / 374.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.3257, allocations: 4 kB / 374.3 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3258, allocations: 7.953 kB / 374.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3258, allocations: 0 / 374.3 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3268, allocations: 0.8592 MB / 375.2 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.878e-05/0.3269, allocations: 55.98 kB / 375.2 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.3272, allocations: 71.89 kB / 375.3 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/0.3275, allocations: 143.4 kB / 375.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.3276, allocations: 27.88 kB / 375.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.3301, allocations: 2.315 MB / 377.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3301, allocations: 0 / 377.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.3319, allocations: 1.096 MB / 378.9 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.3323, allocations: 250.9 kB / 379.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3325, allocations: 12 kB / 379.1 MB, free: 12.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.3329, allocations: 23.98 kB / 379.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.333, allocations: 48.33 kB / 379.2 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.3331, allocations: 27.98 kB / 379.2 MB, free: 12.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001236/0.3343, allocations: 0.846 MB / 380.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3343, allocations: 7.938 kB / 380.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001024/0.3354, allocations: 379.7 kB / 380.5 MB, free: 11.57 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.0007254/0.3361, allocations: 428.2 kB / 380.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.3377, allocations: 0.8602 MB / 381.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3377, allocations: 0 / 381.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/0.3387, allocations: 0.5905 MB / 382.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.3393, allocations: 170.3 kB / 382.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.3431, allocations: 2.74 MB / 385.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/0.3439, allocations: 1.209 MB / 386.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005991/0.3445, allocations: 187.1 kB / 386.6 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3446, allocations: 79.44 kB / 386.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3447, allocations: 4 kB / 386.7 MB, free: 5.188 MB / 318.1 MB Notification: Performance of Templates: time 0.03384/0.3785, allocations: 12.19 MB / 398.9 MB, free: 8.98 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) Environment - environmentSimulation: