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.001049/0.001049, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.244/1.244, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009173/0.0009172, allocations: 94.02 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2193, allocations: 50.41 MB / 401.6 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.3262, allocations: 92.54 MB / 494.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3265, allocations: 72.5 kB / 494.2 MB, free: 3.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2553/0.5818, allocations: 46.47 MB / 0.528 GB, free: 84.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5818, allocations: 0 / 0.528 GB, free: 84.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.5818, allocations: 16 kB / 0.528 GB, free: 84.2 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.001683/0.5835, allocations: 1.292 MB / 0.5293 GB, free: 82.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5836, allocations: 8.031 kB / 0.5293 GB, free: 82.95 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.5836, allocations: 70.16 kB / 0.5293 GB, free: 82.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.612e-05/0.5837, allocations: 112.1 kB / 0.5294 GB, free: 82.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.5846, allocations: 0.721 MB / 0.5301 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.5846, allocations: 27.92 kB / 0.5302 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/0.5846, allocations: 28 kB / 0.5302 GB, free: 82.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.5852, allocations: 329.5 kB / 0.5305 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5852, allocations: 0 / 0.5305 GB, free: 81.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.5853, allocations: 16 kB / 0.5305 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.5853, allocations: 4 kB / 0.5305 GB, free: 81.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.5858, allocations: 300.3 kB / 0.5308 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.5873, allocations: 1.395 MB / 0.5322 GB, free: 80.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005594/0.5879, allocations: 316.5 kB / 0.5325 GB, free: 80 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003573/0.5915, allocations: 4.193 MB / 0.5366 GB, free: 75.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.5919, allocations: 212.2 kB / 0.5368 GB, free: 75.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.076e-06/0.5919, allocations: 0 / 0.5368 GB, free: 75.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001421/0.5933, allocations: 0.8429 MB / 0.5376 GB, free: 74.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.5933, allocations: 59.59 kB / 0.5377 GB, free: 74.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006694/0.594, allocations: 0.7161 MB / 0.5384 GB, free: 73.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5941, allocations: 33.7 kB / 0.5384 GB, free: 73.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.5943, allocations: 452.4 kB / 0.5388 GB, free: 72.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.5944, allocations: 94.66 kB / 0.5389 GB, free: 72.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.5944, allocations: 8 kB / 0.5389 GB, free: 72.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.67e-05/0.5945, allocations: 321.9 kB / 0.5392 GB, free: 72.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.5947, allocations: 132.6 kB / 0.5394 GB, free: 72.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.595, allocations: 236 kB / 0.5396 GB, free: 72.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5953, allocations: 140.4 kB / 0.5397 GB, free: 71.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5953, allocations: 4 kB / 0.5397 GB, free: 71.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007763/0.5961, allocations: 0.5404 MB / 0.5402 GB, free: 71.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5961, allocations: 8 kB / 0.5403 GB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.961e-05/0.5961, allocations: 32.41 kB / 0.5403 GB, free: 71.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.5963, allocations: 61.64 kB / 0.5403 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.5966, allocations: 83.86 kB / 0.5404 GB, free: 71.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.598, allocations: 2.662 MB / 0.543 GB, free: 68.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.5983, allocations: 43.67 kB / 0.5431 GB, free: 68.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.5983, allocations: 20 kB / 0.5431 GB, free: 68.22 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.0002533/0.5986, allocations: 206.2 kB / 0.5433 GB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.5987, allocations: 110.7 kB / 0.5434 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.5997, allocations: 0.5134 MB / 0.5439 GB, free: 67.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5997, allocations: 4 kB / 0.5439 GB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5997, allocations: 0 / 0.5439 GB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5997, allocations: 3.984 kB / 0.5439 GB, free: 67.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.6002, allocations: 0.5739 MB / 0.5445 GB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.118e-05/0.6002, allocations: 28 kB / 0.5445 GB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.6004, allocations: 51.95 kB / 0.5445 GB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.6006, allocations: 53.56 kB / 0.5446 GB, free: 66.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.6006, allocations: 8 kB / 0.5446 GB, free: 66.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/0.6018, allocations: 2.658 MB / 0.5472 GB, free: 63.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6018, allocations: 3.953 kB / 0.5472 GB, free: 63.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000987/0.6028, allocations: 0.6275 MB / 0.5478 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.603, allocations: 191.8 kB / 0.548 GB, free: 62.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.068e-05/0.6031, allocations: 3.984 kB / 0.548 GB, free: 62.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6033, allocations: 19.98 kB / 0.548 GB, free: 62.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.6034, allocations: 31.91 kB / 0.548 GB, free: 62.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.6034, allocations: 16.05 kB / 0.5481 GB, free: 62.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000501/0.6039, allocations: 0.5662 MB / 0.5486 GB, free: 62.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6039, allocations: 3.938 kB / 0.5486 GB, free: 62.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000666/0.6046, allocations: 279.6 kB / 0.5489 GB, free: 61.89 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.001686/0.6063, allocations: 1.512 MB / 0.5504 GB, free: 60.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009327/0.6072, allocations: 0.6126 MB / 0.551 GB, free: 59.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6073, allocations: 0 / 0.551 GB, free: 59.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004958/0.6078, allocations: 451 kB / 0.5514 GB, free: 59.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.6082, allocations: 114.3 kB / 0.5515 GB, free: 59.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/0.6153, allocations: 7.017 MB / 0.5583 GB, free: 51.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.6157, allocations: 0.9719 MB / 0.5593 GB, free: 50.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.616, allocations: 93.7 kB / 0.5594 GB, free: 50.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.6163, allocations: 339.3 kB / 0.5597 GB, free: 50.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.034e-06/0.6163, allocations: 0 / 0.5597 GB, free: 50.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.6478, allocations: 18.39 MB / 0.5777 GB, free: 32.24 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.648, allocations: 212.3 kB / 0.5779 GB, free: 32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.35, allocations: 3.938 kB / 0.5779 GB, free: 32 MB / 378.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)