Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001525, allocations: 176.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.5 MB / 230.3 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 97.34 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.184e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09605/0.0961, allocations: 50.42 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3162/0.4124, allocations: 91.8 MB / 479.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4127, allocations: 71.97 kB / 479.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09015/0.5029, allocations: 43.76 MB / 0.5109 GB, free: 7.012 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5029, allocations: 0 / 0.5109 GB, free: 7.012 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.5029, allocations: 16.88 kB / 0.5109 GB, free: 6.996 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001907/0.5049, allocations: 1.112 MB / 0.512 GB, free: 5.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5049, allocations: 8.031 kB / 0.512 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.5051, allocations: 118.6 kB / 0.5121 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5062, allocations: 0.717 MB / 0.5128 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.5062, allocations: 11.95 kB / 0.5129 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.975e-05/0.5063, allocations: 20 kB / 0.5129 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003914/0.5067, allocations: 209.3 kB / 0.5131 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004495/0.5072, allocations: 253 kB / 0.5133 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5072, allocations: 0 / 0.5133 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.5072, allocations: 0 / 0.5133 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.5072, allocations: 15.98 kB / 0.5133 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.5094, allocations: 1.321 MB / 0.5146 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.5099, allocations: 242.9 kB / 0.5149 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.5102, allocations: 208.7 kB / 0.5151 GB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00502/0.5152, allocations: 4.242 MB / 0.5192 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003073/0.5156, allocations: 164.8 kB / 0.5194 GB, free: 13.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.504e-06/0.5156, allocations: 0 / 0.5194 GB, free: 13.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008817/0.5165, allocations: 431.4 kB / 0.5198 GB, free: 13.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.5165, allocations: 55.59 kB / 0.5198 GB, free: 13.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.5173, allocations: 0.6492 MB / 0.5205 GB, free: 12.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.5174, allocations: 25.7 kB / 0.5205 GB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.5177, allocations: 448.6 kB / 0.5209 GB, free: 11.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.5178, allocations: 94.64 kB / 0.521 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.5178, allocations: 0 / 0.521 GB, free: 11.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.518, allocations: 322 kB / 0.5213 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.5182, allocations: 84.77 kB / 0.5214 GB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.5184, allocations: 191.7 kB / 0.5216 GB, free: 11.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003684/0.5188, allocations: 171.9 kB / 0.5217 GB, free: 10.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5188, allocations: 3.938 kB / 0.5217 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008401/0.5196, allocations: 497.6 kB / 0.5222 GB, free: 10.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.5197, allocations: 5.688 kB / 0.5222 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/0.5197, allocations: 39.98 kB / 0.5223 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/0.5199, allocations: 53.69 kB / 0.5223 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.5203, allocations: 83.69 kB / 0.5224 GB, free: 10.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.5221, allocations: 2.564 MB / 0.5249 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.5226, allocations: 43.66 kB / 0.5249 GB, free: 7.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5226, allocations: 16 kB / 0.5249 GB, free: 7.438 MB / 410.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.0001315/0.5227, allocations: 118.7 kB / 0.5251 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008207/0.5236, allocations: 434.8 kB / 0.5255 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.5237, allocations: 102.8 kB / 0.5256 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.5248, allocations: 0.4896 MB / 0.5261 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5249, allocations: 0 / 0.5261 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5249, allocations: 8 kB / 0.5261 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5249, allocations: 7.984 kB / 0.5261 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.5255, allocations: 0.5149 MB / 0.5266 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.656e-05/0.5256, allocations: 31.98 kB / 0.5266 GB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.5258, allocations: 43.91 kB / 0.5266 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/0.526, allocations: 49.69 kB / 0.5267 GB, free: 5.578 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.526, allocations: 19.94 kB / 0.5267 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.5279, allocations: 2.536 MB / 0.5292 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5279, allocations: 0 / 0.5292 GB, free: 2.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.5289, allocations: 0.5763 MB / 0.5297 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.5291, allocations: 187.8 kB / 0.5299 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.5292, allocations: 4 kB / 0.5299 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.5295, allocations: 23.91 kB / 0.53 GB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/0.5295, allocations: 27.97 kB / 0.53 GB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.5296, allocations: 16.06 kB / 0.53 GB, free: 1.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006884/0.5303, allocations: 0.4996 MB / 0.5305 GB, free: 1.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5303, allocations: 0 / 0.5305 GB, free: 1.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008192/0.5311, allocations: 263.5 kB / 0.5307 GB, free: 1.152 MB / 410.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.001956/0.5331, allocations: 1.501 MB / 0.5322 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007829/0.5339, allocations: 0.5096 MB / 0.5327 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5339, allocations: 0 / 0.5327 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.5344, allocations: 393.2 kB / 0.5331 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.535, allocations: 110 kB / 0.5332 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5377, allocations: 1.29 MB / 0.5344 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006202/0.5383, allocations: 0.9796 MB / 0.5354 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003511/0.5387, allocations: 93.62 kB / 0.5355 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.5391, allocations: 335.3 kB / 0.5358 GB, free: 11.79 MB / 426.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5391, allocations: 0 / 0.5358 GB, free: 11.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2337/0.7728, allocations: 15.2 MB / 0.5506 GB, free: 115.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.7731, allocations: 153.2 kB / 0.5508 GB, free: 115.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.482/3.255, allocations: 1.594 kB / 0.5508 GB, free: 115.5 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)