Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001042/0.001042, allocations: 181.6 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.448/1.448, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001657/0.001657, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.189e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.0927, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3282/0.4209, allocations: 97.8 MB / 447.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.4212, allocations: 71.78 kB / 447.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4534/0.8746, allocations: 127.2 MB / 0.561 GB, free: 80.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.8746, allocations: 0 / 0.561 GB, free: 80.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.248e-05/0.8747, allocations: 47.53 kB / 0.5611 GB, free: 80.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004152/0.8789, allocations: 2.806 MB / 0.5638 GB, free: 78.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.8789, allocations: 11.75 kB / 0.5638 GB, free: 78.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.8794, allocations: 415.8 kB / 0.5642 GB, free: 78.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.8829, allocations: 2.417 MB / 0.5666 GB, free: 77.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.8829, allocations: 41.25 kB / 0.5666 GB, free: 77.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.8831, allocations: 57.33 kB / 0.5667 GB, free: 77.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.8841, allocations: 0.7918 MB / 0.5675 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.8841, allocations: 0 / 0.5675 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.8842, allocations: 18.12 kB / 0.5675 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.8842, allocations: 25.94 kB / 0.5675 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.8851, allocations: 0.7076 MB / 0.5682 GB, free: 77.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005159/0.8903, allocations: 3.284 MB / 0.5714 GB, free: 76.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.8909, allocations: 495.1 kB / 0.5719 GB, free: 76.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006137/0.8915, allocations: 0.5945 MB / 0.5725 GB, free: 76.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02663/0.9182, allocations: 36.2 MB / 0.6078 GB, free: 49.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.9186, allocations: 321.2 kB / 0.6081 GB, free: 49.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 2.254e-06/0.9186, allocations: 3.875 kB / 0.6081 GB, free: 49.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.001202/0.9198, allocations: 0.8155 MB / 0.6089 GB, free: 49.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.9199, allocations: 272.4 kB / 0.6092 GB, free: 49.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003038/0.923, allocations: 2.662 MB / 0.6118 GB, free: 48.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.923, allocations: 37.55 kB / 0.6118 GB, free: 48.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.9241, allocations: 1.584 MB / 0.6134 GB, free: 46.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.9242, allocations: 172.1 kB / 0.6135 GB, free: 46.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.9243, allocations: 14.81 kB / 0.6135 GB, free: 46.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.404e-05/0.9243, allocations: 343.6 kB / 0.6139 GB, free: 46.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.9246, allocations: 189.8 kB / 0.614 GB, free: 46.35 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.9251, allocations: 0.5972 MB / 0.6146 GB, free: 45.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.9255, allocations: 281.9 kB / 0.6149 GB, free: 45.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.9256, allocations: 7.031 kB / 0.6149 GB, free: 45.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001516/0.9271, allocations: 1.138 MB / 0.616 GB, free: 45.24 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.9271, allocations: 11.73 kB / 0.616 GB, free: 45.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-05/0.9272, allocations: 80.09 kB / 0.6161 GB, free: 45.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.9272, allocations: 24.44 kB / 0.6161 GB, free: 45.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.9279, allocations: 211.9 kB / 0.6163 GB, free: 45.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.9279, allocations: 31.92 kB / 0.6164 GB, free: 45.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.9293, allocations: 127.8 kB / 0.6165 GB, free: 45.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-05/0.9294, allocations: 68.11 kB / 0.6165 GB, free: 45.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.9295, allocations: 171.6 kB / 0.6167 GB, free: 44.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.9298, allocations: 403.1 kB / 0.6171 GB, free: 44.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.9325, allocations: 1.154 MB / 0.6182 GB, free: 44.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.9326, allocations: 14.94 kB / 0.6182 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.9326, allocations: 0 / 0.6182 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.9326, allocations: 3.656 kB / 0.6182 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003168/0.9358, allocations: 2.203 MB / 0.6204 GB, free: 43.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.491e-05/0.9358, allocations: 69.28 kB / 0.6205 GB, free: 43.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.9363, allocations: 107.6 kB / 0.6206 GB, free: 43.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.9363, allocations: 0 / 0.6206 GB, free: 43.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.9364, allocations: 33.5 kB / 0.6206 GB, free: 43.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.9364, allocations: 3.219 kB / 0.6206 GB, free: 43.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.9364, allocations: 0 / 0.6206 GB, free: 43.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.9379, allocations: 1.242 MB / 0.6218 GB, free: 42.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/0.9388, allocations: 0.5133 MB / 0.6223 GB, free: 42.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.9391, allocations: 7.344 kB / 0.6223 GB, free: 42.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000715/0.9398, allocations: 48.77 kB / 0.6224 GB, free: 42.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.94, allocations: 67.25 kB / 0.6224 GB, free: 42.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.246e-05/0.94, allocations: 37.78 kB / 0.6225 GB, free: 42.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00243/0.9425, allocations: 2.028 MB / 0.6244 GB, free: 41.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9425, allocations: 0 / 0.6244 GB, free: 41.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001606/0.9441, allocations: 0.6709 MB / 0.6251 GB, free: 40.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.9452, allocations: 0.8757 MB / 0.626 GB, free: 40.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009591/0.9462, allocations: 0.7118 MB / 0.6267 GB, free: 39.62 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9462, allocations: 448 / 0.6267 GB, free: 39.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.9466, allocations: 398.6 kB / 0.627 GB, free: 39.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.9484, allocations: 0.5158 MB / 0.6275 GB, free: 38.76 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.953, allocations: 3.291 MB / 0.6307 GB, free: 35.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/0.9539, allocations: 1.779 MB / 0.6325 GB, free: 34.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001318/0.9552, allocations: 385.3 kB / 0.6329 GB, free: 34.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.9555, allocations: 163.4 kB / 0.633 GB, free: 33.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9555, allocations: 4 kB / 0.633 GB, free: 33.86 MB / 394.7 MB Notification: Performance of Templates: time 0.05146/1.007, allocations: 34.34 MB / 0.6665 GB, free: 1.953 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1)