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.001284/0.001284, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.318/1.318, allocations: 227.2 MB / 245 MB, free: 7.637 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 100.3 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.000238, allocations: 8 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2118, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.3365, allocations: 93.35 MB / 0.4911 GB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.3369, allocations: 71.97 kB / 0.4911 GB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2728/0.6096, allocations: 46.54 MB / 0.5366 GB, free: 74.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6097, allocations: 0 / 0.5366 GB, free: 74.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.6097, allocations: 20 kB / 0.5366 GB, free: 74.09 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.001893/0.6116, allocations: 1.298 MB / 0.5379 GB, free: 72.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6117, allocations: 8.031 kB / 0.5379 GB, free: 72.73 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.6118, allocations: 70.47 kB / 0.5379 GB, free: 72.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.6119, allocations: 118.6 kB / 0.5381 GB, free: 72.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008596/0.6127, allocations: 0.7235 MB / 0.5388 GB, free: 71.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.6128, allocations: 20.55 kB / 0.5388 GB, free: 71.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.6128, allocations: 28 kB / 0.5388 GB, free: 71.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.6134, allocations: 321.3 kB / 0.5391 GB, free: 71.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6134, allocations: 0 / 0.5391 GB, free: 71.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.6134, allocations: 15.98 kB / 0.5391 GB, free: 71.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.6135, allocations: 8 kB / 0.5391 GB, free: 71.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005452/0.614, allocations: 302.1 kB / 0.5394 GB, free: 71.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.6156, allocations: 1.411 MB / 0.5408 GB, free: 69.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005708/0.6162, allocations: 306.9 kB / 0.5411 GB, free: 69.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00389/0.6201, allocations: 4.212 MB / 0.5452 GB, free: 64.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.6204, allocations: 203.6 kB / 0.5454 GB, free: 64.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.796e-06/0.6205, allocations: 0 / 0.5454 GB, free: 64.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001381/0.6218, allocations: 0.8385 MB / 0.5462 GB, free: 63.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.6219, allocations: 63.53 kB / 0.5463 GB, free: 63.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.6226, allocations: 0.7162 MB / 0.547 GB, free: 62.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.6226, allocations: 29.7 kB / 0.547 GB, free: 62.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.6229, allocations: 456.4 kB / 0.5474 GB, free: 62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.623, allocations: 94.66 kB / 0.5475 GB, free: 61.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.623, allocations: 4 kB / 0.5475 GB, free: 61.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.536e-05/0.6231, allocations: 322 kB / 0.5478 GB, free: 61.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.6233, allocations: 132.6 kB / 0.548 GB, free: 61.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.6236, allocations: 229.4 kB / 0.5482 GB, free: 61.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.6239, allocations: 155.9 kB / 0.5483 GB, free: 61.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6239, allocations: 0 / 0.5483 GB, free: 61.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007931/0.6247, allocations: 0.537 MB / 0.5489 GB, free: 60.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6247, allocations: 8 kB / 0.5489 GB, free: 60.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.105e-05/0.6248, allocations: 36.39 kB / 0.5489 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.625, allocations: 57.62 kB / 0.549 GB, free: 60.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6253, allocations: 75.89 kB / 0.549 GB, free: 60.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.6266, allocations: 2.67 MB / 0.5516 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.627, allocations: 51.61 kB / 0.5517 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.627, allocations: 19.98 kB / 0.5517 GB, free: 57.29 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.0002525/0.6273, allocations: 205.4 kB / 0.5519 GB, free: 57.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/0.6273, allocations: 107.2 kB / 0.552 GB, free: 56.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009813/0.6283, allocations: 0.522 MB / 0.5525 GB, free: 56.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6283, allocations: 3.953 kB / 0.5525 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6284, allocations: 4 kB / 0.5525 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6284, allocations: 0 / 0.5525 GB, free: 56.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00046/0.6288, allocations: 0.5699 MB / 0.5531 GB, free: 55.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-05/0.6289, allocations: 31.98 kB / 0.5531 GB, free: 55.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6291, allocations: 47.91 kB / 0.5532 GB, free: 55.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.6293, allocations: 57.67 kB / 0.5532 GB, free: 55.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.6293, allocations: 7.953 kB / 0.5532 GB, free: 55.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6305, allocations: 2.662 MB / 0.5558 GB, free: 52.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6305, allocations: 0 / 0.5558 GB, free: 52.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009589/0.6315, allocations: 0.6387 MB / 0.5564 GB, free: 52.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.6317, allocations: 187.8 kB / 0.5566 GB, free: 51.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.6318, allocations: 8 kB / 0.5566 GB, free: 51.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.632, allocations: 19.98 kB / 0.5566 GB, free: 51.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.48e-05/0.6321, allocations: 23.95 kB / 0.5567 GB, free: 51.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.6321, allocations: 16.39 kB / 0.5567 GB, free: 51.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000522/0.6326, allocations: 0.5662 MB / 0.5572 GB, free: 51.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6326, allocations: 0 / 0.5572 GB, free: 51.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007531/0.6334, allocations: 291.6 kB / 0.5575 GB, free: 50.94 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.001938/0.6354, allocations: 1.517 MB / 0.559 GB, free: 49.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008622/0.6362, allocations: 0.6127 MB / 0.5596 GB, free: 48.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6362, allocations: 0 / 0.5596 GB, free: 48.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.6367, allocations: 451 kB / 0.56 GB, free: 48.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.6372, allocations: 108.7 kB / 0.5601 GB, free: 48.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006956/0.6442, allocations: 7.011 MB / 0.567 GB, free: 40.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.6445, allocations: 0.9758 MB / 0.5679 GB, free: 39.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.6449, allocations: 89.72 kB / 0.568 GB, free: 39.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.6452, allocations: 335.3 kB / 0.5683 GB, free: 39.46 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6452, allocations: 0 / 0.5683 GB, free: 39.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.6752, allocations: 18.44 MB / 0.5863 GB, free: 21.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.6754, allocations: 213.1 kB / 0.5865 GB, free: 20.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.138, allocations: 0 / 0.5865 GB, free: 20.97 MB / 378.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)