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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007674/0.0007675, allocations: 99.25 kB / 17.01 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008855/0.0008856, allocations: 194.1 kB / 17.9 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002429/0.000243, allocations: 7.984 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 51.5 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004421/0.1134, allocations: 4.411 MB / 362.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2284/0.3418, allocations: 9.855 MB / 372.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006986/0.3426, allocations: 8.688 kB / 372.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.3444, allocations: 0.5879 MB / 373.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.348, allocations: 0.7569 MB / 373.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.3498, allocations: 410.5 kB / 374.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.3526, allocations: 1.276 MB / 375.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.353, allocations: 149.5 kB / 375.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.3535, allocations: 247 kB / 376 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.3539, allocations: 290.6 kB / 376.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/0.354, allocations: 17.88 kB / 376.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.3558, allocations: 0.6779 MB / 377 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.612e-05/0.3559, allocations: 86.89 kB / 377.1 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3561, allocations: 196 kB / 377.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3573, allocations: 0.8922 MB / 378.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3573, allocations: 1.25 kB / 378.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3573, allocations: 0 / 378.2 MB, free: 8.168 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3573, allocations: 1.219 kB / 378.2 MB, free: 8.168 MB / 302.1 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.001693/0.359, allocations: 1.207 MB / 379.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.3591, allocations: 9.375 kB / 379.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.513e-05/0.3592, allocations: 66.02 kB / 379.4 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3593, allocations: 117.8 kB / 379.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3605, allocations: 0.6991 MB / 380.2 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.3605, allocations: 22.03 kB / 380.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.3606, allocations: 25.94 kB / 380.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.3613, allocations: 329.7 kB / 380.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3613, allocations: 7.453 kB / 380.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.3613, allocations: 7.375 kB / 380.6 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3614, allocations: 11.98 kB / 380.6 MB, free: 6.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006672/0.362, allocations: 295.6 kB / 380.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.364, allocations: 1.367 MB / 382.3 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.3647, allocations: 316.1 kB / 382.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.3652, allocations: 257.1 kB / 382.9 MB, free: 6.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003275/0.3685, allocations: 2.809 MB / 385.7 MB, free: 4.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004424/0.3689, allocations: 212.4 kB / 385.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.013e-06/0.3689, allocations: 0 / 385.9 MB, free: 4.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001438/0.3704, allocations: 0.6622 MB / 386.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3704, allocations: 55.53 kB / 386.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.3715, allocations: 0.8035 MB / 387.4 MB, free: 3.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3715, allocations: 30.05 kB / 387.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.3718, allocations: 439 kB / 387.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.3719, allocations: 113.1 kB / 388 MB, free: 3.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.3719, allocations: 8 kB / 388 MB, free: 3.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.372, allocations: 322.9 kB / 388.3 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3723, allocations: 133.7 kB / 388.4 MB, free: 3.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.3726, allocations: 224.8 kB / 388.6 MB, free: 3.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.3729, allocations: 162.9 kB / 388.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3729, allocations: 1.031 kB / 388.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009463/0.3739, allocations: 0.5298 MB / 389.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3739, allocations: 6.312 kB / 389.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-05/0.374, allocations: 35.44 kB / 389.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3741, allocations: 35.44 kB / 389.4 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.3745, allocations: 91.73 kB / 389.5 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/0.3753, allocations: 1.347 MB / 390.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.3757, allocations: 53.98 kB / 390.9 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.3758, allocations: 15.66 kB / 390.9 MB, free: 1.594 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003591/0.3761, allocations: 211.7 kB / 391.1 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.3763, allocations: 103.9 kB / 391.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3774, allocations: 0.501 MB / 391.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3774, allocations: 2.344 kB / 391.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3775, allocations: 5.469 kB / 391.7 MB, free: 1.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3775, allocations: 6.656 kB / 391.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.3782, allocations: 0.5585 MB / 392.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.797e-05/0.3782, allocations: 35.06 kB / 392.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.3786, allocations: 73.2 kB / 392.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-05/0.3787, allocations: 27.77 kB / 392.4 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.3787, allocations: 12.34 kB / 392.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/0.3795, allocations: 1.324 MB / 393.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3795, allocations: 1.188 kB / 393.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.3807, allocations: 0.6448 MB / 394.4 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.381, allocations: 187.8 kB / 394.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.3811, allocations: 5.344 kB / 394.6 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.3813, allocations: 25 kB / 394.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.3814, allocations: 27.23 kB / 394.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.858e-05/0.3814, allocations: 12.34 kB / 394.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007276/0.3822, allocations: 0.5359 MB / 395.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3822, allocations: 1.531 kB / 395.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008559/0.383, allocations: 236.8 kB / 395.4 MB, free: 15.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * 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 (22): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002029/0.3851, allocations: 1.425 MB / 396.8 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009809/0.3861, allocations: 0.5044 MB / 397.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3861, allocations: 0 / 397.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.3866, allocations: 340.5 kB / 397.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.3872, allocations: 113 kB / 397.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009141/0.3964, allocations: 5.01 MB / 402.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.3969, allocations: 0.955 MB / 403.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.3973, allocations: 84.75 kB / 403.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.3977, allocations: 316.5 kB / 404.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3977, allocations: 0 / 404.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.4303, allocations: 16.29 MB / 420.4 MB, free: 10.53 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0007544/0.4311, allocations: 222.5 kB / 420.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.805, allocations: 2.812 kB / 420.7 MB, free: 10.29 MB / 334.1 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)