Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 181 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008525/0.0008525, allocations: 86.72 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.215, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09777/0.3128, allocations: 90.37 MB / 466.3 MB, free: 6.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.313, allocations: 79.95 kB / 466.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2472/0.5603, allocations: 43.73 MB / 0.4981 GB, free: 95.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5603, allocations: 1.344 kB / 0.4981 GB, free: 95.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.268e-05/0.5604, allocations: 13.12 kB / 0.4982 GB, free: 95.69 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.00278/0.5632, allocations: 1.291 MB / 0.4994 GB, free: 94.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.5632, allocations: 10.81 kB / 0.4994 GB, free: 94.92 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.89e-05/0.5633, allocations: 71.03 kB / 0.4995 GB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.5636, allocations: 112.2 kB / 0.4996 GB, free: 94.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.5647, allocations: 0.72 MB / 0.5003 GB, free: 94.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.5647, allocations: 20.84 kB / 0.5003 GB, free: 94.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.5648, allocations: 26.88 kB / 0.5003 GB, free: 94.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.5654, allocations: 326.3 kB / 0.5007 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5654, allocations: 5.875 kB / 0.5007 GB, free: 94.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.5655, allocations: 11.86 kB / 0.5007 GB, free: 94.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.5655, allocations: 9.094 kB / 0.5007 GB, free: 94.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.5661, allocations: 304.4 kB / 0.501 GB, free: 94.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.568, allocations: 1.403 MB / 0.5023 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.5686, allocations: 313.8 kB / 0.5026 GB, free: 93.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003848/0.5725, allocations: 4.207 MB / 0.5068 GB, free: 90.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.5728, allocations: 203.4 kB / 0.5069 GB, free: 90.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.973e-06/0.5729, allocations: 0 / 0.5069 GB, free: 90.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001399/0.5743, allocations: 0.8401 MB / 0.5078 GB, free: 89.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5743, allocations: 56.22 kB / 0.5078 GB, free: 89.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.575, allocations: 0.7184 MB / 0.5085 GB, free: 89.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.575, allocations: 32.64 kB / 0.5086 GB, free: 89.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.5752, allocations: 451.1 kB / 0.509 GB, free: 89.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.5753, allocations: 98.53 kB / 0.5091 GB, free: 89.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.5753, allocations: 6.938 kB / 0.5091 GB, free: 89.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.5754, allocations: 324.9 kB / 0.5094 GB, free: 89.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.5756, allocations: 126.5 kB / 0.5095 GB, free: 89.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.5759, allocations: 234.9 kB / 0.5097 GB, free: 89.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.5762, allocations: 150.4 kB / 0.5099 GB, free: 89.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5762, allocations: 7.781 kB / 0.5099 GB, free: 89.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008187/0.577, allocations: 0.5331 MB / 0.5104 GB, free: 88.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5771, allocations: 13.14 kB / 0.5104 GB, free: 88.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/0.5771, allocations: 38.44 kB / 0.5105 GB, free: 88.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.5773, allocations: 53.09 kB / 0.5105 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5776, allocations: 85.47 kB / 0.5106 GB, free: 88.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.579, allocations: 2.661 MB / 0.5132 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.5794, allocations: 47.88 kB / 0.5132 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5794, allocations: 18.12 kB / 0.5133 GB, free: 86.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002408/0.5796, allocations: 198.2 kB / 0.5134 GB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5798, allocations: 113.1 kB / 0.5135 GB, free: 86.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009712/0.5807, allocations: 0.5155 MB / 0.5141 GB, free: 86.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5808, allocations: 3.969 kB / 0.5141 GB, free: 86.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5808, allocations: 0 / 0.5141 GB, free: 86.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5808, allocations: 3.953 kB / 0.5141 GB, free: 86.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000487/0.5813, allocations: 0.566 MB / 0.5146 GB, free: 85.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.231e-05/0.5813, allocations: 38.38 kB / 0.5146 GB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.5815, allocations: 52.28 kB / 0.5147 GB, free: 85.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.5817, allocations: 47.62 kB / 0.5147 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.5817, allocations: 11.31 kB / 0.5148 GB, free: 85.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.5829, allocations: 2.659 MB / 0.5174 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5829, allocations: 7.312 kB / 0.5174 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.5839, allocations: 0.6363 MB / 0.518 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.5841, allocations: 188.7 kB / 0.5182 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.585e-05/0.5842, allocations: 2.875 kB / 0.5182 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5844, allocations: 22.34 kB / 0.5182 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.5845, allocations: 32.97 kB / 0.5182 GB, free: 83.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.5846, allocations: 11.14 kB / 0.5182 GB, free: 83.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004957/0.5851, allocations: 0.5619 MB / 0.5188 GB, free: 82.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5851, allocations: 0 / 0.5188 GB, free: 82.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007212/0.5858, allocations: 281.7 kB / 0.519 GB, free: 82.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.5876, allocations: 1.508 MB / 0.5205 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.5885, allocations: 0.6074 MB / 0.5211 GB, free: 81.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5885, allocations: 4.625 kB / 0.5211 GB, free: 81.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.589, allocations: 446.5 kB / 0.5215 GB, free: 81.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.5893, allocations: 101.2 kB / 0.5216 GB, free: 81.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006998/0.5963, allocations: 7.007 MB / 0.5285 GB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.5967, allocations: 0.9762 MB / 0.5294 GB, free: 76.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.597, allocations: 93.86 kB / 0.5295 GB, free: 76.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.5973, allocations: 340 kB / 0.5298 GB, free: 75.79 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5973, allocations: 0 / 0.5298 GB, free: 75.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.6315, allocations: 18.4 MB / 0.5478 GB, free: 63.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/0.6317, allocations: 214.7 kB / 0.548 GB, free: 63.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.474/3.106, allocations: 3.938 kB / 0.548 GB, free: 63.08 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)