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.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001759/0.001759, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.313/1.313, allocations: 205.1 MB / 222 MB, free: 5.004 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.0012/0.0012, allocations: 55.91 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2138, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007135/0.2209, allocations: 7.308 MB / 332 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.233, allocations: 10.61 MB / 342.6 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2345, allocations: 35.69 kB / 342.6 MB, free: 2.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.2362, allocations: 0.6189 MB / 343.2 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.2393, allocations: 0.9563 MB / 344.2 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2407, allocations: 491.8 kB / 344.7 MB, free: 108 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003316/0.244, allocations: 2.412 MB / 347.1 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003623/0.2444, allocations: 272.3 kB / 347.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.2448, allocations: 429.7 kB / 347.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004314/0.2452, allocations: 0.5162 MB / 348.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.473e-05/0.2453, allocations: 36 kB / 348.3 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.2468, allocations: 0.6791 MB / 349 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.2469, allocations: 162.8 kB / 349.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.2475, allocations: 0.6637 MB / 349.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.2491, allocations: 1.891 MB / 351.7 MB, free: 9.016 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2491, allocations: 0 / 351.7 MB, free: 9.016 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2491, allocations: 4 kB / 351.7 MB, free: 9.012 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2492, allocations: 0 / 351.7 MB, free: 9.012 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.002509/0.2517, allocations: 1.989 MB / 353.7 MB, free: 6.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2517, allocations: 8.031 kB / 353.7 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.2519, allocations: 198.6 kB / 353.9 MB, free: 6.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.2535, allocations: 1.337 MB / 355.3 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2536, allocations: 29 kB / 355.3 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.2536, allocations: 48 kB / 355.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.2546, allocations: 0.5158 MB / 355.8 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2546, allocations: 4 kB / 355.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.2547, allocations: 20 kB / 355.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2547, allocations: 15.98 kB / 355.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.2556, allocations: 472.1 kB / 356.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.2585, allocations: 2.097 MB / 358.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009393/0.2594, allocations: 0.708 MB / 359.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.2602, allocations: 0.5096 MB / 359.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007695/0.2679, allocations: 6.513 MB / 366.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/0.2684, allocations: 286.5 kB / 366.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=55): time 2.455e-06/0.2685, allocations: 0 / 366.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=59): time 0.003697/0.2722, allocations: 1.963 MB / 368.4 MB, free: 7.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2722, allocations: 67.84 kB / 368.5 MB, free: 6.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.2737, allocations: 1.288 MB / 369.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.2737, allocations: 37.7 kB / 369.8 MB, free: 5.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.2743, allocations: 0.7188 MB / 370.5 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.2744, allocations: 197.1 kB / 370.7 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.2746, allocations: 122.2 kB / 370.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2747, allocations: 334 kB / 371.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/0.2751, allocations: 201.5 kB / 371.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2756, allocations: 363.8 kB / 371.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.2779, allocations: 1.139 MB / 372.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2779, allocations: 0 / 372.9 MB, free: 2.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001509/0.2794, allocations: 0.9219 MB / 373.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2795, allocations: 4 kB / 373.8 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.973e-05/0.2796, allocations: 60.62 kB / 373.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.28, allocations: 160.4 kB / 374 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004433/0.2804, allocations: 107.8 kB / 374.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.283, allocations: 2.295 MB / 376.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2835, allocations: 31.97 kB / 376.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.037e-05/0.2835, allocations: 36 kB / 376.5 MB, free: 14.64 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.0004623/0.284, allocations: 269.7 kB / 376.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.2842, allocations: 185.9 kB / 376.9 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.286, allocations: 0.898 MB / 377.8 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.286, allocations: 8 kB / 377.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.286, allocations: 0 / 377.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.286, allocations: 3.984 kB / 377.8 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2871, allocations: 0.8593 MB / 378.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.986e-05/0.2871, allocations: 56 kB / 378.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.2874, allocations: 59.89 kB / 378.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.2879, allocations: 151 kB / 378.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.041e-05/0.2879, allocations: 23.94 kB / 379 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002515/0.2904, allocations: 2.281 MB / 381.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2904, allocations: 0 / 381.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.2923, allocations: 1.068 MB / 382.3 MB, free: 8.559 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.2926, allocations: 243 kB / 382.6 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.2927, allocations: 15.94 kB / 382.6 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.2931, allocations: 19.98 kB / 382.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.2932, allocations: 44.38 kB / 382.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.2932, allocations: 23.98 kB / 382.7 MB, free: 8.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001003/0.2942, allocations: 0.8617 MB / 383.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2942, allocations: 0 / 383.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009111/0.2952, allocations: 375.8 kB / 383.9 MB, free: 6.977 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.0006734/0.2958, allocations: 456.1 kB / 384.3 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.2974, allocations: 0.8404 MB / 385.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2974, allocations: 0 / 385.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009132/0.2983, allocations: 0.5747 MB / 385.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.299, allocations: 186.3 kB / 385.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.3026, allocations: 2.845 MB / 388.8 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/0.3033, allocations: 1.174 MB / 389.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005571/0.3038, allocations: 187.2 kB / 390.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.304, allocations: 83.44 kB / 390.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.304, allocations: 0 / 390.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of Templates: time 0.02349/0.3275, allocations: 12.86 MB / 403.1 MB, free: 3.645 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)