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.001126/0.001126, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001295/0.001295, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.353/1.353, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001264/0.001264, allocations: 55.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2176, allocations: 46.62 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008318/0.2259, allocations: 7.327 MB / 332.2 MB, free: 12.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01187/0.2378, allocations: 10.28 MB / 342.4 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.2392, allocations: 39.69 kB / 342.5 MB, free: 2.422 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.2414, allocations: 0.6112 MB / 343.1 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004222/0.2456, allocations: 0.9876 MB / 344.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.2482, allocations: 0.5655 MB / 344.6 MB, free: 248 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004094/0.2524, allocations: 2.509 MB / 347.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.2528, allocations: 279.9 kB / 347.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.2534, allocations: 453.7 kB / 347.9 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.2539, allocations: 0.524 MB / 348.4 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.254, allocations: 56 kB / 348.4 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2555, allocations: 0.7026 MB / 349.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.2557, allocations: 194.8 kB / 349.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005513/0.2563, allocations: 0.6715 MB / 350 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.2584, allocations: 1.923 MB / 351.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2584, allocations: 0 / 351.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2584, allocations: 0 / 351.9 MB, free: 8.898 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.41e-05/0.2585, allocations: 0 / 351.9 MB, free: 8.898 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.002691/0.2612, allocations: 1.985 MB / 353.9 MB, free: 6.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2612, allocations: 8.031 kB / 353.9 MB, free: 6.848 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2614, allocations: 202.6 kB / 354.1 MB, free: 6.648 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.2632, allocations: 1.341 MB / 355.5 MB, free: 5.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.2632, allocations: 33 kB / 355.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.402e-05/0.2633, allocations: 44 kB / 355.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008974/0.2642, allocations: 0.508 MB / 356 MB, free: 4.672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2642, allocations: 4 kB / 356.1 MB, free: 4.668 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.2643, allocations: 16 kB / 356.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.2643, allocations: 15.98 kB / 356.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.2652, allocations: 484 kB / 356.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00284/0.268, allocations: 2.105 MB / 358.7 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.269, allocations: 0.704 MB / 359.4 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.2697, allocations: 0.5173 MB / 359.9 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00759/0.2773, allocations: 6.501 MB / 366.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005956/0.2779, allocations: 298.5 kB / 366.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.706e-06/0.2779, allocations: 0 / 366.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003539/0.2815, allocations: 1.963 MB / 368.6 MB, free: 6.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.2815, allocations: 59.84 kB / 368.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.283, allocations: 1.292 MB / 370 MB, free: 5.531 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.2831, allocations: 37.7 kB / 370 MB, free: 5.488 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.2836, allocations: 0.7149 MB / 370.7 MB, free: 4.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.2838, allocations: 201.1 kB / 370.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.2839, allocations: 122.2 kB / 371.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2841, allocations: 334 kB / 371.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.2845, allocations: 193.5 kB / 371.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.285, allocations: 359.8 kB / 371.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/0.2873, allocations: 1.139 MB / 373.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2874, allocations: 0 / 373.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001655/0.289, allocations: 0.926 MB / 374 MB, free: 1.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2891, allocations: 4 kB / 374 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.642e-05/0.2892, allocations: 59.98 kB / 374.1 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004624/0.2896, allocations: 156.2 kB / 374.2 MB, free: 1.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.2901, allocations: 119.8 kB / 374.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.293, allocations: 2.519 MB / 376.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.2936, allocations: 24.03 kB / 376.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.2937, allocations: 32 kB / 376.9 MB, free: 14.3 MB / 318.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 (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.0005181/0.2942, allocations: 285.6 kB / 377.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.2944, allocations: 185.8 kB / 377.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.2961, allocations: 0.8787 MB / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2962, allocations: 8 kB / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2962, allocations: 0 / 378.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2962, allocations: 7.984 kB / 378.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009108/0.2971, allocations: 0.867 MB / 379.1 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.837e-05/0.2972, allocations: 55.98 kB / 379.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.2975, allocations: 67.88 kB / 379.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.2978, allocations: 152.7 kB / 379.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.2979, allocations: 16 kB / 379.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002658/0.3005, allocations: 2.502 MB / 381.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3006, allocations: 0 / 381.9 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.3024, allocations: 1.061 MB / 383 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003426/0.3028, allocations: 247 kB / 383.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.3029, allocations: 11.98 kB / 383.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.3033, allocations: 19.98 kB / 383.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.3034, allocations: 48.31 kB / 383.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.3034, allocations: 24 kB / 383.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00109/0.3045, allocations: 0.8617 MB / 384.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3046, allocations: 0 / 384.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009215/0.3055, allocations: 375.8 kB / 384.5 MB, free: 6.41 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 (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 Backend phase and start with SimCode phase: time 0.0007074/0.3062, allocations: 464.1 kB / 385 MB, free: 5.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001669/0.3079, allocations: 0.8561 MB / 385.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3079, allocations: 0 / 385.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.3088, allocations: 0.5824 MB / 386.4 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3096, allocations: 186.2 kB / 386.6 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.3132, allocations: 2.839 MB / 389.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.3141, allocations: 1.174 MB / 390.6 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007054/0.3148, allocations: 179.2 kB / 390.8 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.3149, allocations: 79.48 kB / 390.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of SimCode: time 1.122e-06/0.315, allocations: 0 / 390.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of Templates: time 0.02386/0.3388, allocations: 13.3 MB / 404.2 MB, free: 2.621 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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)