Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001647/0.001647, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006919/0.0006918, allocations: 96.06 kB / 297.4 MB, free: 6.703 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002121/0.0002122, allocations: 4 kB / 357.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09716/0.2923, allocations: 93.32 MB / 0.4902 GB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001732/0.2925, allocations: 81.34 kB / 0.4903 GB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2246/0.5171, allocations: 46.17 MB / 0.5354 GB, free: 75.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5171, allocations: 3.938 kB / 0.5354 GB, free: 75.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.5172, allocations: 12 kB / 0.5354 GB, free: 75.89 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.00163/0.5188, allocations: 1.278 MB / 0.5366 GB, free: 74.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5188, allocations: 12.03 kB / 0.5366 GB, free: 74.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.5189, allocations: 114.8 kB / 0.5368 GB, free: 74.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.5197, allocations: 0.7639 MB / 0.5375 GB, free: 73.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.5197, allocations: 16.94 kB / 0.5375 GB, free: 73.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.5198, allocations: 28.75 kB / 0.5375 GB, free: 73.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.5203, allocations: 340.1 kB / 0.5379 GB, free: 73.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5203, allocations: 0 / 0.5379 GB, free: 73.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.5203, allocations: 16 kB / 0.5379 GB, free: 73.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5204, allocations: 8 kB / 0.5379 GB, free: 73.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.5209, allocations: 293.9 kB / 0.5382 GB, free: 73.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.5224, allocations: 1.4 MB / 0.5395 GB, free: 71.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.5229, allocations: 318.6 kB / 0.5398 GB, free: 71.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.5233, allocations: 268.6 kB / 0.5401 GB, free: 71.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/0.5269, allocations: 4.196 MB / 0.5442 GB, free: 66.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.5273, allocations: 203.2 kB / 0.5444 GB, free: 66.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 2.325e-06/0.5273, allocations: 0 / 0.5444 GB, free: 66.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001367/0.5287, allocations: 0.7576 MB / 0.5451 GB, free: 65.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.5287, allocations: 55.41 kB / 0.5452 GB, free: 65.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007898/0.5295, allocations: 0.8388 MB / 0.546 GB, free: 64.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.5295, allocations: 29.7 kB / 0.546 GB, free: 64.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.5298, allocations: 452.5 kB / 0.5465 GB, free: 63.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.5298, allocations: 94.59 kB / 0.5465 GB, free: 63.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.5299, allocations: 8 kB / 0.5466 GB, free: 63.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.5299, allocations: 326 kB / 0.5469 GB, free: 63.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.5302, allocations: 120.7 kB / 0.547 GB, free: 63.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.5305, allocations: 240 kB / 0.5472 GB, free: 63.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005328/0.531, allocations: 377.5 kB / 0.5476 GB, free: 62.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.531, allocations: 0 / 0.5476 GB, free: 62.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007958/0.5318, allocations: 0.5444 MB / 0.5481 GB, free: 62.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.5319, allocations: 8 kB / 0.5481 GB, free: 62.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/0.5319, allocations: 35.94 kB / 0.5481 GB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.5321, allocations: 58.09 kB / 0.5482 GB, free: 61.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.5324, allocations: 75.89 kB / 0.5483 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.5336, allocations: 2.647 MB / 0.5509 GB, free: 58.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.5339, allocations: 47.58 kB / 0.5509 GB, free: 58.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.534, allocations: 20 kB / 0.5509 GB, free: 58.92 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.0002203/0.5342, allocations: 201.7 kB / 0.5511 GB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.5343, allocations: 110.8 kB / 0.5512 GB, free: 58.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009679/0.5353, allocations: 0.5134 MB / 0.5517 GB, free: 58.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5353, allocations: 8 kB / 0.5517 GB, free: 58.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5353, allocations: 7.938 kB / 0.5517 GB, free: 58.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5353, allocations: 3.984 kB / 0.5517 GB, free: 58.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.5357, allocations: 0.5778 MB / 0.5523 GB, free: 57.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/0.5358, allocations: 31.94 kB / 0.5523 GB, free: 57.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.536, allocations: 47.91 kB / 0.5524 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.5361, allocations: 53.69 kB / 0.5524 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.5362, allocations: 8 kB / 0.5524 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/0.5373, allocations: 2.639 MB / 0.555 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5373, allocations: 0 / 0.555 GB, free: 54.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.5383, allocations: 0.6271 MB / 0.5556 GB, free: 53.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.5385, allocations: 187.8 kB / 0.5558 GB, free: 53.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.5386, allocations: 4 kB / 0.5558 GB, free: 53.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5388, allocations: 31.97 kB / 0.5558 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.5389, allocations: 23.97 kB / 0.5559 GB, free: 53.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.5389, allocations: 15.98 kB / 0.5559 GB, free: 53.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000528/0.5395, allocations: 0.5662 MB / 0.5564 GB, free: 52.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5395, allocations: 0 / 0.5564 GB, free: 52.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006743/0.5402, allocations: 287.5 kB / 0.5567 GB, free: 52.61 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.0005708/0.5407, allocations: 449.3 kB / 0.5571 GB, free: 52.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/0.5416, allocations: 0.605 MB / 0.5577 GB, free: 51.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5416, allocations: 0 / 0.5577 GB, free: 51.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.5421, allocations: 462.9 kB / 0.5582 GB, free: 51.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.5426, allocations: 107 kB / 0.5583 GB, free: 50.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.5446, allocations: 1.764 MB / 0.56 GB, free: 49.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.5449, allocations: 0.9602 MB / 0.5609 GB, free: 48.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.287e-05/0.545, allocations: 47.44 kB / 0.561 GB, free: 48.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.545, allocations: 4 kB / 0.561 GB, free: 48.1 MB / 378.7 MB Notification: Performance of Templates: time 0.01623/0.5613, allocations: 18.21 MB / 0.5788 GB, free: 29.89 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)