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.001147/0.001147, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 88 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.566e-05/4.597e-05, allocations: 7.984 kB / 350.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.394/0.5087, allocations: 93.28 MB / 495.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.509, allocations: 77.56 kB / 495.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09675/0.6058, allocations: 46.4 MB / 0.5292 GB, free: 15.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6058, allocations: 4 kB / 0.5292 GB, free: 15.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.377e-05/0.6059, allocations: 16 kB / 0.5292 GB, free: 15.33 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.002393/0.6083, allocations: 1.114 MB / 0.5303 GB, free: 14.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6084, allocations: 12.03 kB / 0.5303 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.6085, allocations: 64.97 kB / 0.5304 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.6087, allocations: 110.7 kB / 0.5305 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6099, allocations: 0.7235 MB / 0.5312 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.61, allocations: 20.55 kB / 0.5312 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.61, allocations: 28 kB / 0.5312 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005145/0.6106, allocations: 290.2 kB / 0.5315 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6106, allocations: 1.375 kB / 0.5315 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.6106, allocations: 4 kB / 0.5315 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.6107, allocations: 12 kB / 0.5315 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.6111, allocations: 230.4 kB / 0.5317 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.6133, allocations: 1.399 MB / 0.5331 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.6137, allocations: 250.9 kB / 0.5333 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.614, allocations: 212.8 kB / 0.5335 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005572/0.6196, allocations: 4.249 MB / 0.5377 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003169/0.62, allocations: 170.3 kB / 0.5379 GB, free: 5.609 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.62, allocations: 0 / 0.5379 GB, free: 5.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.000863/0.6209, allocations: 389.4 kB / 0.5382 GB, free: 5.219 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.6209, allocations: 55.59 kB / 0.5383 GB, free: 5.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.622, allocations: 0.7093 MB / 0.539 GB, free: 4.426 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.6221, allocations: 33.7 kB / 0.539 GB, free: 4.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.6225, allocations: 440.4 kB / 0.5394 GB, free: 3.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6226, allocations: 102.6 kB / 0.5395 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.6226, allocations: 15.98 kB / 0.5395 GB, free: 3.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6228, allocations: 322 kB / 0.5398 GB, free: 3.516 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.623, allocations: 88.77 kB / 0.5399 GB, free: 3.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.6232, allocations: 196.9 kB / 0.5401 GB, free: 3.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.6235, allocations: 119.8 kB / 0.5402 GB, free: 3.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6235, allocations: 0 / 0.5402 GB, free: 3.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008013/0.6243, allocations: 490.1 kB / 0.5407 GB, free: 2.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6243, allocations: 8 kB / 0.5407 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/0.6244, allocations: 31.98 kB / 0.5407 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002236/0.6246, allocations: 49.7 kB / 0.5408 GB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.6249, allocations: 84.28 kB / 0.5409 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.6271, allocations: 2.639 MB / 0.5434 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.6275, allocations: 48.36 kB / 0.5435 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.6276, allocations: 20 kB / 0.5435 GB, free: 15.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.000132/0.6277, allocations: 128.8 kB / 0.5436 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.6279, allocations: 110.7 kB / 0.5437 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/0.6289, allocations: 450.8 kB / 0.5442 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.6289, allocations: 12 kB / 0.5442 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6289, allocations: 2.625 kB / 0.5442 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6289, allocations: 0 / 0.5442 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007222/0.6297, allocations: 0.5743 MB / 0.5447 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.276e-05/0.6297, allocations: 31.98 kB / 0.5448 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.63, allocations: 43.95 kB / 0.5448 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/0.6302, allocations: 61.64 kB / 0.5449 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.6302, allocations: 4 kB / 0.5449 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.632, allocations: 2.643 MB / 0.5475 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6321, allocations: 0 / 0.5475 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.6329, allocations: 0.534 MB / 0.548 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.6332, allocations: 183.8 kB / 0.5481 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.6333, allocations: 8 kB / 0.5482 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.6336, allocations: 19.98 kB / 0.5482 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6337, allocations: 32.02 kB / 0.5482 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.6338, allocations: 15.95 kB / 0.5482 GB, free: 10.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007995/0.6346, allocations: 0.5594 MB / 0.5488 GB, free: 9.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.6346, allocations: 0 / 0.5488 GB, free: 9.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009691/0.6356, allocations: 287.5 kB / 0.549 GB, free: 9.367 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.001989/0.6375, allocations: 1.412 MB / 0.5504 GB, free: 7.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008182/0.6384, allocations: 0.5405 MB / 0.5509 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6384, allocations: 0 / 0.5509 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.6389, allocations: 411.8 kB / 0.5513 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.6394, allocations: 109 kB / 0.5514 GB, free: 6.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.642, allocations: 1.317 MB / 0.5527 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.6426, allocations: 0.9758 MB / 0.5537 GB, free: 4.449 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000339/0.6429, allocations: 89.73 kB / 0.5538 GB, free: 4.359 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/0.6433, allocations: 339.3 kB / 0.5541 GB, free: 4.031 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6434, allocations: 0 / 0.5541 GB, free: 4.031 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.6825, allocations: 18.74 MB / 0.5724 GB, free: 1.535 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6828, allocations: 184.3 kB / 0.5726 GB, free: 1.312 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.563, allocations: 1.828 kB / 0.5726 GB, free: 1.312 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)