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.001923/0.001923, allocations: 172.8 kB / 14.1 MB, free: 1.223 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.2 MB / 219.8 MB, free: 14.21 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.0007545/0.0007546, allocations: 74.73 kB / 267.9 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.898e-05, allocations: 3.984 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09012, allocations: 47.58 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4132, allocations: 90.28 MB / 460.4 MB, free: 3.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.4135, allocations: 73.52 kB / 460.5 MB, free: 3.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08408/0.4976, allocations: 43.59 MB / 0.4923 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4977, allocations: 0 / 0.4923 GB, free: 8.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.4977, allocations: 16 kB / 0.4923 GB, free: 8.734 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.001905/0.4996, allocations: 1.108 MB / 0.4934 GB, free: 7.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4997, allocations: 8.031 kB / 0.4934 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.036e-05/0.4998, allocations: 62.53 kB / 0.4934 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.4999, allocations: 118.7 kB / 0.4935 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.5009, allocations: 0.7165 MB / 0.4942 GB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.501, allocations: 20.56 kB / 0.4943 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.501, allocations: 24 kB / 0.4943 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.5015, allocations: 290.2 kB / 0.4946 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5015, allocations: 0 / 0.4946 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.5015, allocations: 12 kB / 0.4946 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5016, allocations: 8 kB / 0.4946 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.5019, allocations: 230.4 kB / 0.4948 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.5038, allocations: 1.408 MB / 0.4962 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.5042, allocations: 246.9 kB / 0.4964 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.5045, allocations: 214.8 kB / 0.4966 GB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004863/0.5094, allocations: 4.251 MB / 0.5008 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.5097, allocations: 172.3 kB / 0.5009 GB, free: 14.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.893e-06/0.5097, allocations: 0 / 0.5009 GB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007181/0.5105, allocations: 379.4 kB / 0.5013 GB, free: 14.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.5105, allocations: 59.55 kB / 0.5013 GB, free: 14.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.5114, allocations: 0.7132 MB / 0.502 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.5114, allocations: 29.7 kB / 0.5021 GB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.5118, allocations: 452.4 kB / 0.5025 GB, free: 13.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.5118, allocations: 98.64 kB / 0.5026 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/0.5119, allocations: 4 kB / 0.5026 GB, free: 13.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.512, allocations: 322 kB / 0.5029 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.5121, allocations: 88.77 kB / 0.503 GB, free: 12.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5124, allocations: 196.1 kB / 0.5032 GB, free: 12.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5125, allocations: 119.9 kB / 0.5033 GB, free: 12.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5126, allocations: 0 / 0.5033 GB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000659/0.5132, allocations: 481.4 kB / 0.5037 GB, free: 11.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5133, allocations: 8 kB / 0.5038 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/0.5133, allocations: 35.98 kB / 0.5038 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002048/0.5135, allocations: 54.09 kB / 0.5038 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.5138, allocations: 79.89 kB / 0.5039 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.5156, allocations: 2.639 MB / 0.5065 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.516, allocations: 47.8 kB / 0.5065 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.516, allocations: 20 kB / 0.5066 GB, free: 8.816 MB / 394.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 () * 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.0001163/0.5161, allocations: 128.8 kB / 0.5067 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.5162, allocations: 114.6 kB / 0.5068 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008716/0.5171, allocations: 458.1 kB / 0.5072 GB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.5171, allocations: 3.953 kB / 0.5072 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5172, allocations: 4 kB / 0.5072 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5172, allocations: 3.984 kB / 0.5072 GB, free: 8.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000575/0.5177, allocations: 0.5739 MB / 0.5078 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.381e-05/0.5178, allocations: 28 kB / 0.5078 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.518, allocations: 43.95 kB / 0.5079 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.5182, allocations: 53.69 kB / 0.5079 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/0.5182, allocations: 11.95 kB / 0.5079 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.5199, allocations: 2.639 MB / 0.5105 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5199, allocations: 4.125 kB / 0.5105 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.5207, allocations: 0.5216 MB / 0.511 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.5209, allocations: 183.9 kB / 0.5112 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.521, allocations: 8 kB / 0.5112 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.5213, allocations: 24.03 kB / 0.5112 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.5214, allocations: 23.97 kB / 0.5112 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.5214, allocations: 19.94 kB / 0.5113 GB, free: 3.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000633/0.522, allocations: 0.5554 MB / 0.5118 GB, free: 3.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.522, allocations: 0 / 0.5118 GB, free: 3.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007166/0.5228, allocations: 287.4 kB / 0.5121 GB, free: 2.754 MB / 394.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) * 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.001559/0.5243, allocations: 1.414 MB / 0.5135 GB, free: 1.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.5251, allocations: 0.5415 MB / 0.514 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5251, allocations: 0 / 0.514 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.5255, allocations: 415.8 kB / 0.5144 GB, free: 300 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.5258, allocations: 86.27 kB / 0.5145 GB, free: 216 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.5281, allocations: 1.327 MB / 0.5158 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.5286, allocations: 0.9758 MB / 0.5167 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.5289, allocations: 89.73 kB / 0.5168 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.5292, allocations: 331.3 kB / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.5293, allocations: 0 / 0.5171 GB, free: 13.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.7637, allocations: 18.7 MB / 0.5354 GB, free: 110.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.7639, allocations: 191.6 kB / 0.5356 GB, free: 110.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.227, allocations: 2.062 kB / 0.5356 GB, free: 110.4 MB / 410.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)