Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002142/0.002143, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009608/0.0009609, allocations: 88.78 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.854e-05, allocations: 4 kB / 343.8 MB, free: 8.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 51.48 MB / 395.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.5125, allocations: 92.62 MB / 487.9 MB, free: 496 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.5127, allocations: 72.56 kB / 488 MB, free: 460 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08778/0.6005, allocations: 43.85 MB / 0.5193 GB, free: 9.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6006, allocations: 0 / 0.5193 GB, free: 9.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.395e-05/0.6006, allocations: 12 kB / 0.5194 GB, free: 9.746 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.002319/0.603, allocations: 1.119 MB / 0.5204 GB, free: 8.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.603, allocations: 8.031 kB / 0.5205 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.6032, allocations: 110.7 kB / 0.5206 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.6043, allocations: 0.7196 MB / 0.5213 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.6044, allocations: 8 kB / 0.5213 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.6044, allocations: 16 kB / 0.5213 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003972/0.6048, allocations: 209.3 kB / 0.5215 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.6053, allocations: 254.4 kB / 0.5217 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6053, allocations: 0 / 0.5217 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.6054, allocations: 4 kB / 0.5217 GB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6054, allocations: 8 kB / 0.5217 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6075, allocations: 1.332 MB / 0.523 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.608, allocations: 234.9 kB / 0.5233 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.6082, allocations: 216.1 kB / 0.5235 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00534/0.6136, allocations: 4.237 MB / 0.5276 GB, free: 468 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.6139, allocations: 164.3 kB / 0.5278 GB, free: 292 kB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.446e-06/0.6139, allocations: 0 / 0.5278 GB, free: 292 kB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001004/0.615, allocations: 425.4 kB / 0.5282 GB, free: 15.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.615, allocations: 55.59 kB / 0.5282 GB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/0.6159, allocations: 0.6492 MB / 0.5289 GB, free: 15.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.616, allocations: 29.7 kB / 0.5289 GB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.6164, allocations: 448.6 kB / 0.5293 GB, free: 14.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.951e-05/0.6165, allocations: 96.42 kB / 0.5294 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.724e-05/0.6165, allocations: 0 / 0.5294 GB, free: 14.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6166, allocations: 325.9 kB / 0.5297 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.6168, allocations: 80.77 kB / 0.5298 GB, free: 14.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.617, allocations: 187.8 kB / 0.53 GB, free: 13.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.6174, allocations: 179.8 kB / 0.5301 GB, free: 13.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6174, allocations: 4 kB / 0.5301 GB, free: 13.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009028/0.6183, allocations: 0.4935 MB / 0.5306 GB, free: 13.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.6184, allocations: 8 kB / 0.5306 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/0.6184, allocations: 35.98 kB / 0.5307 GB, free: 13.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.6187, allocations: 58.12 kB / 0.5307 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.619, allocations: 75.88 kB / 0.5308 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.621, allocations: 2.552 MB / 0.5333 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.6216, allocations: 47.78 kB / 0.5333 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.6216, allocations: 16 kB / 0.5334 GB, free: 10.2 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.0001541/0.6218, allocations: 116.9 kB / 0.5335 GB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009407/0.6227, allocations: 438.3 kB / 0.5339 GB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.6229, allocations: 102.8 kB / 0.534 GB, free: 9.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.6242, allocations: 0.4939 MB / 0.5345 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.6242, allocations: 1.781 kB / 0.5345 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6243, allocations: 4 kB / 0.5345 GB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6243, allocations: 3.984 kB / 0.5345 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008399/0.6251, allocations: 0.5149 MB / 0.535 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/0.6252, allocations: 31.98 kB / 0.535 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.6255, allocations: 43.97 kB / 0.535 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.6257, allocations: 45.69 kB / 0.5351 GB, free: 8.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.6257, allocations: 15.98 kB / 0.5351 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/0.6276, allocations: 2.544 MB / 0.5376 GB, free: 5.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6277, allocations: 3.938 kB / 0.5376 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6288, allocations: 0.5632 MB / 0.5381 GB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.6291, allocations: 195.8 kB / 0.5383 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.6292, allocations: 4 kB / 0.5383 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.6294, allocations: 19.97 kB / 0.5384 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6296, allocations: 35.86 kB / 0.5384 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.6296, allocations: 8 kB / 0.5384 GB, free: 4.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000651/0.6302, allocations: 0.4957 MB / 0.5389 GB, free: 4.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6303, allocations: 0 / 0.5389 GB, free: 4.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008988/0.6312, allocations: 267.6 kB / 0.5391 GB, free: 3.934 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.0021/0.6333, allocations: 1.519 MB / 0.5406 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008645/0.6342, allocations: 0.5017 MB / 0.5411 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6342, allocations: 0 / 0.5411 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.6347, allocations: 409.1 kB / 0.5415 GB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.6353, allocations: 94.69 kB / 0.5416 GB, free: 1.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.6383, allocations: 1.301 MB / 0.5429 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.6388, allocations: 0.9719 MB / 0.5438 GB, free: 14.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003608/0.6392, allocations: 85.66 kB / 0.5439 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.6396, allocations: 339.3 kB / 0.5442 GB, free: 14.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6396, allocations: 0 / 0.5442 GB, free: 14.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04375/0.6834, allocations: 15.23 MB / 0.5591 GB, free: 15.41 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.6837, allocations: 154.8 kB / 0.5592 GB, free: 15.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.389, allocations: 4.031 kB / 0.5592 GB, free: 15.21 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)