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.001861/0.001861, allocations: 187.9 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.403/1.403, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001743/0.001743, allocations: 113.3 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.983e-05/1.985e-05, allocations: 0 / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08237/0.08241, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.3669, allocations: 97.14 MB / 439.7 MB, free: 14.97 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.3671, allocations: 74.89 kB / 439.8 MB, free: 14.93 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4505/0.8176, allocations: 121.9 MB / 0.5485 GB, free: 74.75 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.8177, allocations: 0 / 0.5485 GB, free: 74.75 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.8178, allocations: 47.25 kB / 0.5486 GB, free: 74.75 MB / 395.1 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.006408/0.8242, allocations: 2.798 MB / 0.5513 GB, free: 73.21 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8243, allocations: 9.125 kB / 0.5513 GB, free: 73.21 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8253, allocations: 417 kB / 0.5517 GB, free: 73 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.8308, allocations: 2.431 MB / 0.5541 GB, free: 72.33 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.8309, allocations: 15.47 kB / 0.5541 GB, free: 72.33 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.8311, allocations: 39.02 kB / 0.5541 GB, free: 72.32 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001117/0.8322, allocations: 0.6898 MB / 0.5548 GB, free: 72.32 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.8332, allocations: 0.7221 MB / 0.5555 GB, free: 72.19 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.8332, allocations: 0 / 0.5555 GB, free: 72.19 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.569e-05/0.8333, allocations: 1.125 kB / 0.5555 GB, free: 72.19 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.8333, allocations: 23.39 kB / 0.5555 GB, free: 72.19 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005811/0.8391, allocations: 3.164 MB / 0.5586 GB, free: 71.67 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.8398, allocations: 473 kB / 0.5591 GB, free: 71.64 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.8404, allocations: 0.5758 MB / 0.5597 GB, free: 71.62 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.027/0.8674, allocations: 36.19 MB / 0.595 GB, free: 44.01 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004052/0.8678, allocations: 311.3 kB / 0.5953 GB, free: 43.89 MB / 395.1 MB Notification: Performance of pre-optimization done (n=49): time 2.625e-06/0.8679, allocations: 3.938 kB / 0.5953 GB, free: 43.88 MB / 395.1 MB Notification: Performance of matching and sorting (n=49): time 0.001381/0.8692, allocations: 0.8041 MB / 0.5961 GB, free: 43.54 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.8693, allocations: 271.2 kB / 0.5963 GB, free: 43.23 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003448/0.8728, allocations: 2.453 MB / 0.5987 GB, free: 42.27 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.8729, allocations: 29.7 kB / 0.5988 GB, free: 42.23 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009688/0.8738, allocations: 1.578 MB / 0.6003 GB, free: 40.95 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.874, allocations: 166.4 kB / 0.6005 GB, free: 40.82 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.874, allocations: 2.719 kB / 0.6005 GB, free: 40.82 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.8741, allocations: 339.5 kB / 0.6008 GB, free: 40.51 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.8743, allocations: 177.6 kB / 0.601 GB, free: 40.44 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.8746, allocations: 0.5756 MB / 0.6015 GB, free: 39.82 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.875, allocations: 264.4 kB / 0.6018 GB, free: 39.71 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.875, allocations: 3.625 kB / 0.6018 GB, free: 39.71 MB / 395.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001315/0.8763, allocations: 1.047 MB / 0.6028 GB, free: 39.29 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8764, allocations: 11.06 kB / 0.6028 GB, free: 39.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-05/0.8765, allocations: 78.88 kB / 0.6029 GB, free: 39.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.8765, allocations: 25.42 kB / 0.6029 GB, free: 39.29 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.8772, allocations: 215.2 kB / 0.6031 GB, free: 39.26 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.8772, allocations: 25.66 kB / 0.6031 GB, free: 39.26 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.8784, allocations: 106.6 kB / 0.6032 GB, free: 39.21 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.8785, allocations: 69.88 kB / 0.6033 GB, free: 39.2 MB / 395.1 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.0001449/0.8787, allocations: 138.4 kB / 0.6034 GB, free: 39.07 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.879, allocations: 402.3 kB / 0.6038 GB, free: 38.86 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.8814, allocations: 1.135 MB / 0.6049 GB, free: 38.43 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8814, allocations: 7.859 kB / 0.6049 GB, free: 38.43 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8814, allocations: 6.094 kB / 0.6049 GB, free: 38.43 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.8815, allocations: 3.844 kB / 0.6049 GB, free: 38.43 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.8843, allocations: 2.084 MB / 0.607 GB, free: 37.51 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-05/0.8844, allocations: 69.03 kB / 0.6071 GB, free: 37.51 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004536/0.8849, allocations: 107.5 kB / 0.6072 GB, free: 37.5 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.8849, allocations: 7.734 kB / 0.6072 GB, free: 37.49 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.885, allocations: 26.69 kB / 0.6072 GB, free: 37.49 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.885, allocations: 0 / 0.6072 GB, free: 37.49 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.885, allocations: 2.5 kB / 0.6072 GB, free: 37.49 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.8863, allocations: 1.209 MB / 0.6084 GB, free: 36.83 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/0.887, allocations: 0.514 MB / 0.6089 GB, free: 36.47 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.8874, allocations: 6.125 kB / 0.6089 GB, free: 36.47 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/0.8881, allocations: 44.44 kB / 0.6089 GB, free: 36.46 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.8882, allocations: 61.09 kB / 0.609 GB, free: 36.46 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.8883, allocations: 42.81 kB / 0.609 GB, free: 36.45 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.00214/0.8904, allocations: 1.823 MB / 0.6108 GB, free: 35.7 MB / 395.1 MB Notification: Performance of sort global known variables: time 3e-07/0.8905, allocations: 3.625 kB / 0.6108 GB, free: 35.7 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001345/0.8918, allocations: 0.6159 MB / 0.6114 GB, free: 35.62 MB / 395.1 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.001069/0.8929, allocations: 0.9755 MB / 0.6124 GB, free: 35.34 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000824/0.8937, allocations: 0.6662 MB / 0.613 GB, free: 35.04 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.8937, allocations: 1.688 kB / 0.613 GB, free: 35.04 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.8941, allocations: 385.2 kB / 0.6134 GB, free: 34.84 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.8954, allocations: 0.5213 MB / 0.6139 GB, free: 34.59 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.8995, allocations: 3.276 MB / 0.6171 GB, free: 33.2 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.9003, allocations: 1.78 MB / 0.6188 GB, free: 32.42 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.9015, allocations: 385.1 kB / 0.6192 GB, free: 32.33 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.9017, allocations: 160.5 kB / 0.6193 GB, free: 32.32 MB / 395.1 MB Notification: Performance of SimCode: time 5.01e-07/0.9017, allocations: 0 / 0.6193 GB, free: 32.32 MB / 395.1 MB Notification: Performance of Templates: time 0.04062/0.9424, allocations: 29.27 MB / 0.6479 GB, free: 6.867 MB / 395.1 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)