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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001013/0.001013, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.429/1.429, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 124.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.003e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08096, allocations: 44.49 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3202/0.4012, allocations: 86 MB / 435.4 MB, free: 7.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.4015, allocations: 81.5 kB / 435.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.5035, allocations: 54.47 MB / 490 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5036, allocations: 1.312 kB / 490 MB, free: 10.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.759e-05/0.5036, allocations: 24 kB / 490 MB, free: 10.14 MB / 346.7 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.002477/0.5061, allocations: 1.543 MB / 491.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.5062, allocations: 8.031 kB / 491.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.5064, allocations: 193.8 kB / 491.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.5081, allocations: 1.14 MB / 492.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.5082, allocations: 29 kB / 492.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-05/0.5083, allocations: 47.98 kB / 493 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/0.5091, allocations: 0.4888 MB / 493.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5091, allocations: 0 / 493.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.5092, allocations: 24 kB / 493.5 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5092, allocations: 15.98 kB / 493.5 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/0.5099, allocations: 420.2 kB / 493.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.5129, allocations: 2.126 MB / 496 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007604/0.5137, allocations: 0.6469 MB / 496.7 MB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006279/0.5143, allocations: 486.2 kB / 497.1 MB, free: 2.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009483/0.5238, allocations: 7.764 MB / 0.4931 GB, free: 9.785 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/0.5243, allocations: 262.6 kB / 0.4933 GB, free: 9.516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 2.835e-06/0.5243, allocations: 0 / 0.4933 GB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002688/0.527, allocations: 1.671 MB / 0.495 GB, free: 7.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.5271, allocations: 59.83 kB / 0.495 GB, free: 7.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.5284, allocations: 1.076 MB / 0.4961 GB, free: 6.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.5284, allocations: 37.7 kB / 0.4961 GB, free: 6.602 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.529, allocations: 0.7073 MB / 0.4968 GB, free: 5.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5292, allocations: 205 kB / 0.497 GB, free: 5.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.5292, allocations: 12 kB / 0.497 GB, free: 5.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.5293, allocations: 334 kB / 0.4973 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.5296, allocations: 165.6 kB / 0.4975 GB, free: 5.184 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.53, allocations: 335.6 kB / 0.4978 GB, free: 4.789 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.5303, allocations: 219 kB / 0.498 GB, free: 4.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5303, allocations: 4 kB / 0.498 GB, free: 4.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00127/0.5316, allocations: 0.8523 MB / 0.4988 GB, free: 3.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5316, allocations: 4 kB / 0.4988 GB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.7e-05/0.5317, allocations: 59.98 kB / 0.4989 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.5321, allocations: 152.9 kB / 0.4991 GB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.5326, allocations: 119.8 kB / 0.4992 GB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.5352, allocations: 2.284 MB / 0.5014 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.5357, allocations: 35.94 kB / 0.5014 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.5358, allocations: 40 kB / 0.5015 GB, free: 0.8828 MB / 362.7 MB 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 () * 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.00014/0.5359, allocations: 137.3 kB / 0.5016 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5361, allocations: 181.8 kB / 0.5018 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.5378, allocations: 0.8514 MB / 0.5026 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5378, allocations: 8 kB / 0.5026 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5378, allocations: 0 / 0.5026 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5378, allocations: 4 kB / 0.5026 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5388, allocations: 0.8708 MB / 0.5035 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.071e-05/0.5389, allocations: 51.98 kB / 0.5035 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.5392, allocations: 63.95 kB / 0.5036 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003391/0.5396, allocations: 148.7 kB / 0.5037 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.5396, allocations: 19.98 kB / 0.5037 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/0.542, allocations: 2.263 MB / 0.5059 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5421, allocations: 3.953 kB / 0.506 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5434, allocations: 0.9749 MB / 0.5069 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5438, allocations: 262.8 kB / 0.5072 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.5439, allocations: 8 kB / 0.5072 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.5443, allocations: 27.98 kB / 0.5072 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.5444, allocations: 48.47 kB / 0.5072 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.5445, allocations: 23.97 kB / 0.5073 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009719/0.5454, allocations: 0.8306 MB / 0.5081 GB, free: 9.887 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5454, allocations: 0 / 0.5081 GB, free: 9.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001032/0.5465, allocations: 427.5 kB / 0.5085 GB, free: 9.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008556/0.5473, allocations: 0.5284 MB / 0.509 GB, free: 8.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.5486, allocations: 0.7854 MB / 0.5098 GB, free: 8.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5486, allocations: 0 / 0.5098 GB, free: 8.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.5495, allocations: 0.5746 MB / 0.5103 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.55, allocations: 160 kB / 0.5105 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.5527, allocations: 1.789 MB / 0.5122 GB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.5534, allocations: 1.2 MB / 0.5134 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004985/0.5539, allocations: 153.5 kB / 0.5135 GB, free: 4.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.554, allocations: 67.44 kB / 0.5136 GB, free: 4.078 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.554, allocations: 4 kB / 0.5136 GB, free: 4.074 MB / 378.7 MB Notification: Performance of Templates: time 0.02476/0.5788, allocations: 14.2 MB / 0.5275 GB, free: 5.855 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.makefile (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)