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.001164/0.001164, allocations: 178.9 kB / 16.38 MB, free: 5.762 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.161/1.161, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001658/0.001658, allocations: 106 kB / 256.9 MB, free: 4.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003175, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07443/0.07477, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2313/0.3061, allocations: 86.08 MB / 441.1 MB, free: 3.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.3064, allocations: 85.84 kB / 441.2 MB, free: 3.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.4093, allocations: 54.62 MB / 495.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4093, allocations: 0.8438 kB / 495.8 MB, free: 15.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.755e-05/0.4094, allocations: 20 kB / 495.9 MB, free: 15.35 MB / 378.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.003384/0.4128, allocations: 1.847 MB / 497.7 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4129, allocations: 8.031 kB / 497.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.4132, allocations: 197.7 kB / 497.9 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.4151, allocations: 1.147 MB / 499.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.4151, allocations: 37 kB / 499.1 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4153, allocations: 44 kB / 499.1 MB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.4162, allocations: 0.5239 MB / 499.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4162, allocations: 5.109 kB / 499.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.4163, allocations: 16 kB / 499.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.4163, allocations: 19.98 kB / 499.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.4173, allocations: 492.1 kB / 0.4885 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.4205, allocations: 2.13 MB / 0.4905 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.4215, allocations: 0.7247 MB / 0.4912 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008437/0.4299, allocations: 7.683 MB / 0.4987 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.4305, allocations: 306.5 kB / 0.499 GB, free: 14.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=55): time 3.267e-06/0.4305, allocations: 0 / 0.499 GB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.003548/0.4341, allocations: 2.174 MB / 0.5012 GB, free: 12.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4341, allocations: 59.84 kB / 0.5012 GB, free: 12.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.4355, allocations: 1.092 MB / 0.5023 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4356, allocations: 35.77 kB / 0.5023 GB, free: 11.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005568/0.4361, allocations: 0.7111 MB / 0.503 GB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.4363, allocations: 201.1 kB / 0.5032 GB, free: 10.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.4363, allocations: 12 kB / 0.5032 GB, free: 10.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4365, allocations: 330 kB / 0.5035 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.4369, allocations: 209.6 kB / 0.5037 GB, free: 9.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005024/0.4374, allocations: 372.3 kB / 0.5041 GB, free: 9.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000458/0.4379, allocations: 261.9 kB / 0.5043 GB, free: 9.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4379, allocations: 4 kB / 0.5043 GB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001566/0.4395, allocations: 0.9187 MB / 0.5052 GB, free: 8.188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4395, allocations: 12.12 kB / 0.5052 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.488e-05/0.4396, allocations: 59.98 kB / 0.5053 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003818/0.44, allocations: 153.9 kB / 0.5055 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.4404, allocations: 119.8 kB / 0.5056 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.443, allocations: 2.341 MB / 0.5079 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/0.4436, allocations: 35.88 kB / 0.5079 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.4437, allocations: 36 kB / 0.5079 GB, free: 5.312 MB / 394.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 () * 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,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005028/0.4442, allocations: 274.3 kB / 0.5082 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.4444, allocations: 181.9 kB / 0.5084 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.4463, allocations: 0.9241 MB / 0.5093 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4464, allocations: 4 kB / 0.5093 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4464, allocations: 4 kB / 0.5093 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4464, allocations: 5.859 kB / 0.5093 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.4475, allocations: 0.8593 MB / 0.5101 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.369e-05/0.4475, allocations: 51.98 kB / 0.5102 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4478, allocations: 75.88 kB / 0.5102 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.4482, allocations: 144.7 kB / 0.5104 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.4482, allocations: 19.98 kB / 0.5104 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/0.4507, allocations: 2.3 MB / 0.5126 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4507, allocations: 3.953 kB / 0.5126 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.14/0.5908, allocations: 1.083 MB / 0.5137 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.5913, allocations: 250.1 kB / 0.5139 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.5915, allocations: 16.06 kB / 0.514 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.592, allocations: 20.23 kB / 0.514 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.5921, allocations: 55.56 kB / 0.514 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.5922, allocations: 22.77 kB / 0.514 GB, free: 100.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.5932, allocations: 0.8473 MB / 0.5149 GB, free: 100.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5932, allocations: 3.969 kB / 0.5149 GB, free: 100.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001019/0.5943, allocations: 420 kB / 0.5153 GB, free: 100.3 MB / 394.7 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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007319/0.595, allocations: 0.5312 MB / 0.5158 GB, free: 100.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.5963, allocations: 0.8595 MB / 0.5166 GB, free: 100 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5963, allocations: 2.219 kB / 0.5166 GB, free: 100 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008101/0.5971, allocations: 0.6106 MB / 0.5172 GB, free: 99.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005317/0.5977, allocations: 157 kB / 0.5174 GB, free: 99.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6005, allocations: 2.751 MB / 0.5201 GB, free: 98.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.6009, allocations: 1.197 MB / 0.5212 GB, free: 97.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000444/0.6014, allocations: 156.1 kB / 0.5214 GB, free: 97.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.6015, allocations: 72.78 kB / 0.5215 GB, free: 97.85 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6015, allocations: 0 / 0.5215 GB, free: 97.85 MB / 394.7 MB Notification: Performance of Templates: time 0.02219/0.6237, allocations: 13.44 MB / 0.5346 GB, free: 97.04 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)