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.001002/0.001001, allocations: 174.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0009006/0.0009004, allocations: 99.75 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.051e-05, allocations: 0 / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.42 MB / 394.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4355, allocations: 92.47 MB / 486.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4358, allocations: 75.95 kB / 486.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09329/0.5291, allocations: 46.32 MB / 0.5207 GB, free: 12.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5292, allocations: 0.875 kB / 0.5207 GB, free: 12.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.52e-05/0.5292, allocations: 16 kB / 0.5207 GB, free: 12.35 MB / 410.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.002049/0.5313, allocations: 1.105 MB / 0.5218 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5313, allocations: 11.97 kB / 0.5218 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.161e-05/0.5314, allocations: 70.53 kB / 0.5219 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.5316, allocations: 116.1 kB / 0.522 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.5327, allocations: 0.7196 MB / 0.5227 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.5327, allocations: 24.52 kB / 0.5227 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.5328, allocations: 27.98 kB / 0.5227 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.5333, allocations: 286.2 kB / 0.523 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.5333, allocations: 0 / 0.523 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.5333, allocations: 12 kB / 0.523 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.5334, allocations: 12 kB / 0.523 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.5337, allocations: 226.4 kB / 0.5233 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.5357, allocations: 1.404 MB / 0.5246 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.5362, allocations: 246.8 kB / 0.5249 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.5365, allocations: 216.8 kB / 0.5251 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005188/0.5417, allocations: 4.236 MB / 0.5292 GB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.542, allocations: 179.7 kB / 0.5294 GB, free: 2.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.635e-06/0.542, allocations: 0 / 0.5294 GB, free: 2.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007562/0.5428, allocations: 378.9 kB / 0.5297 GB, free: 2.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.5429, allocations: 59.58 kB / 0.5298 GB, free: 2.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.5438, allocations: 0.7054 MB / 0.5305 GB, free: 1.422 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.5438, allocations: 33.7 kB / 0.5305 GB, free: 1.383 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.5442, allocations: 452.4 kB / 0.5309 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.5442, allocations: 94.64 kB / 0.531 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.808e-05/0.5443, allocations: 8 kB / 0.531 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.5444, allocations: 321.9 kB / 0.5314 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.5446, allocations: 92.77 kB / 0.5314 GB, free: 436 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.5448, allocations: 204 kB / 0.5316 GB, free: 188 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.545, allocations: 112 kB / 0.5317 GB, free: 76 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.545, allocations: 0 / 0.5317 GB, free: 76 kB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007595/0.5458, allocations: 477.4 kB / 0.5322 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5458, allocations: 11.92 kB / 0.5322 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.895e-05/0.5459, allocations: 32 kB / 0.5322 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.5461, allocations: 66.08 kB / 0.5323 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.5464, allocations: 71.89 kB / 0.5324 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.5485, allocations: 2.643 MB / 0.535 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.549, allocations: 55.61 kB / 0.535 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.549, allocations: 16 kB / 0.535 GB, free: 12.43 MB / 426.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.0001272/0.5491, allocations: 125 kB / 0.5351 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.5493, allocations: 118.6 kB / 0.5353 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000996/0.5503, allocations: 458.1 kB / 0.5357 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5503, allocations: 4 kB / 0.5357 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5503, allocations: 0 / 0.5357 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.5503, allocations: 3.984 kB / 0.5357 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.5511, allocations: 0.57 MB / 0.5363 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.5511, allocations: 28 kB / 0.5363 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.5514, allocations: 51.95 kB / 0.5363 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.5515, allocations: 45.69 kB / 0.5364 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.5516, allocations: 12 kB / 0.5364 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/0.5535, allocations: 2.639 MB / 0.539 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5535, allocations: 4 kB / 0.539 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.5543, allocations: 0.5255 MB / 0.5395 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.5546, allocations: 191.9 kB / 0.5397 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.5547, allocations: 7.984 kB / 0.5397 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.5549, allocations: 32.09 kB / 0.5397 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.555, allocations: 19.97 kB / 0.5397 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.5551, allocations: 15.98 kB / 0.5397 GB, free: 7.215 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007303/0.5558, allocations: 0.5516 MB / 0.5403 GB, free: 6.652 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5558, allocations: 0 / 0.5403 GB, free: 6.652 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007875/0.5566, allocations: 283.6 kB / 0.5405 GB, free: 6.375 MB / 426.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.001649/0.5582, allocations: 1.404 MB / 0.5419 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008392/0.5591, allocations: 0.5376 MB / 0.5424 GB, free: 4.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5591, allocations: 0.875 kB / 0.5424 GB, free: 4.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.5596, allocations: 414.9 kB / 0.5428 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.5601, allocations: 110.8 kB / 0.5429 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.5625, allocations: 1.32 MB / 0.5442 GB, free: 2.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.563, allocations: 0.9758 MB / 0.5452 GB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.5634, allocations: 89.72 kB / 0.5453 GB, free: 1.367 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.5637, allocations: 335.3 kB / 0.5456 GB, free: 1.039 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5637, allocations: 0 / 0.5456 GB, free: 1.039 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.241/0.8048, allocations: 18.71 MB / 0.5639 GB, free: 110.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.805, allocations: 193.4 kB / 0.564 GB, free: 110.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.293, allocations: 4 kB / 0.564 GB, free: 110.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)