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.001206/0.001206, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.44/1.44, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001684/0.001685, allocations: 112.3 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.714e-05, allocations: 4 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09484, allocations: 44.5 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2996/0.3945, allocations: 85.33 MB / 427.9 MB, free: 10.7 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.3947, allocations: 74.47 kB / 428 MB, free: 10.67 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.4955, allocations: 51.59 MB / 479.6 MB, free: 14.55 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4956, allocations: 4 kB / 479.6 MB, free: 14.55 MB / 363.1 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.4956, allocations: 24 kB / 479.6 MB, free: 14.53 MB / 363.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.002845/0.4985, allocations: 1.543 MB / 481.1 MB, free: 12.94 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4985, allocations: 8.875 kB / 481.2 MB, free: 12.93 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.4988, allocations: 193.8 kB / 481.3 MB, free: 12.74 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5005, allocations: 1.141 MB / 482.5 MB, free: 11.55 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.5005, allocations: 16 kB / 482.5 MB, free: 11.54 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.5006, allocations: 24 kB / 482.5 MB, free: 11.52 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006335/0.5012, allocations: 398.6 kB / 482.9 MB, free: 11.13 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.5019, allocations: 427.8 kB / 483.3 MB, free: 10.7 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.5019, allocations: 0 / 483.3 MB, free: 10.7 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.502, allocations: 4 kB / 483.3 MB, free: 10.7 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.502, allocations: 12.75 kB / 483.3 MB, free: 10.69 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.505, allocations: 2.033 MB / 485.4 MB, free: 8.594 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.5057, allocations: 0.6331 MB / 486 MB, free: 7.91 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.5063, allocations: 474.2 kB / 486.5 MB, free: 7.445 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01009/0.5164, allocations: 7.746 MB / 494.2 MB, free: 14.5 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/0.5169, allocations: 258.5 kB / 494.5 MB, free: 14.23 MB / 379.1 MB Notification: Performance of pre-optimization done (n=55): time 2.905e-06/0.5169, allocations: 0 / 494.5 MB, free: 14.23 MB / 379.1 MB Notification: Performance of matching and sorting (n=59): time 0.004313/0.5212, allocations: 2.246 MB / 496.7 MB, free: 11.93 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.5213, allocations: 59.83 kB / 496.8 MB, free: 11.86 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.5227, allocations: 0.9864 MB / 497.8 MB, free: 10.88 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.5227, allocations: 29.7 kB / 497.8 MB, free: 10.84 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006128/0.5234, allocations: 0.7112 MB / 498.5 MB, free: 10.12 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.5235, allocations: 193.1 kB / 498.7 MB, free: 9.934 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.5236, allocations: 0 / 498.7 MB, free: 9.934 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5237, allocations: 337.9 kB / 499 MB, free: 9.598 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.524, allocations: 158.5 kB / 499.2 MB, free: 9.445 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.5243, allocations: 315 kB / 499.5 MB, free: 9.07 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.525, allocations: 369.7 kB / 499.8 MB, free: 8.711 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.525, allocations: 7.938 kB / 499.9 MB, free: 8.703 MB / 379.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001644/0.5267, allocations: 0.9533 MB / 0.4891 GB, free: 7.734 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5267, allocations: 8.891 kB / 0.4891 GB, free: 7.727 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.755e-05/0.5268, allocations: 60.61 kB / 0.4891 GB, free: 7.668 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.5272, allocations: 139.9 kB / 0.4893 GB, free: 7.531 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.5277, allocations: 123.8 kB / 0.4894 GB, free: 7.41 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.5305, allocations: 2.221 MB / 0.4916 GB, free: 5.074 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.5311, allocations: 16.83 kB / 0.4916 GB, free: 5.059 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.5312, allocations: 32.06 kB / 0.4916 GB, free: 5.027 MB / 379.1 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 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.5314, allocations: 132.5 kB / 0.4917 GB, free: 4.891 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.5315, allocations: 177.9 kB / 0.4919 GB, free: 4.715 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.5337, allocations: 0.9664 MB / 0.4928 GB, free: 3.734 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5337, allocations: 15.94 kB / 0.4929 GB, free: 3.719 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5337, allocations: 4 kB / 0.4929 GB, free: 3.715 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5337, allocations: 3.984 kB / 0.4929 GB, free: 3.711 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.5349, allocations: 0.7812 MB / 0.4936 GB, free: 2.895 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.298e-05/0.535, allocations: 56.64 kB / 0.4937 GB, free: 2.84 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.5353, allocations: 67.89 kB / 0.4938 GB, free: 2.773 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.5357, allocations: 148.1 kB / 0.4939 GB, free: 2.629 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.5358, allocations: 19.94 kB / 0.4939 GB, free: 2.609 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.5383, allocations: 2.22 MB / 0.4961 GB, free: 284 kB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5383, allocations: 0 / 0.4961 GB, free: 284 kB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.5402, allocations: 1.1 MB / 0.4972 GB, free: 15.15 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.5407, allocations: 255.7 kB / 0.4974 GB, free: 14.88 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5408, allocations: 0 / 0.4974 GB, free: 14.88 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.5412, allocations: 19.98 kB / 0.4974 GB, free: 14.86 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5413, allocations: 52.27 kB / 0.4975 GB, free: 14.81 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.5414, allocations: 31.98 kB / 0.4975 GB, free: 14.78 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001066/0.5424, allocations: 0.7448 MB / 0.4982 GB, free: 14.05 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5425, allocations: 0 / 0.4982 GB, free: 14.05 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001059/0.5435, allocations: 399.5 kB / 0.4986 GB, free: 13.66 MB / 395.1 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.0008888/0.5444, allocations: 0.5875 MB / 0.4992 GB, free: 13.05 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.5457, allocations: 0.7402 MB / 0.4999 GB, free: 12.29 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5457, allocations: 4 kB / 0.4999 GB, free: 12.29 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009203/0.5466, allocations: 0.5607 MB / 0.5005 GB, free: 11.71 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.5472, allocations: 150.3 kB / 0.5006 GB, free: 11.56 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.5501, allocations: 1.775 MB / 0.5023 GB, free: 9.754 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.551, allocations: 1.204 MB / 0.5035 GB, free: 8.52 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005344/0.5515, allocations: 153.5 kB / 0.5037 GB, free: 8.367 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.5517, allocations: 71.44 kB / 0.5037 GB, free: 8.297 MB / 395.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5517, allocations: 0 / 0.5037 GB, free: 8.297 MB / 395.1 MB Notification: Performance of Templates: time 0.2257/0.7774, allocations: 11.21 MB / 0.5147 GB, free: 94.09 MB / 395.1 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)