Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Rectifier.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004156/0.004156, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03881/0.03881, allocations: 8.798 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.212/1.212, allocations: 223.2 MB / 250.7 MB, free: 4.828 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.0008304/0.0008303, allocations: 102.5 kB / 304 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 12 kB / 367.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08921, allocations: 52.54 MB / 419.6 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/0.3299, allocations: 86.02 MB / 0.4938 GB, free: 6.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.3301, allocations: 75.67 kB / 0.4939 GB, free: 6.387 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05276/0.3829, allocations: 21.89 MB / 0.5152 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.3829, allocations: 4 kB / 0.5152 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.432e-05/0.383, allocations: 39.92 kB / 0.5153 GB, free: 0.6367 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.002853/0.3859, allocations: 1.581 MB / 0.5168 GB, free: 15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3859, allocations: 8.562 kB / 0.5168 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002337/0.3862, allocations: 150.2 kB / 0.517 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.3878, allocations: 0.9201 MB / 0.5179 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-05/0.3879, allocations: 90.17 kB / 0.518 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.3881, allocations: 112 kB / 0.5181 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.3907, allocations: 1.637 MB / 0.5197 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3908, allocations: 3.938 kB / 0.5197 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.3909, allocations: 55.95 kB / 0.5197 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.335e-05/0.3909, allocations: 54.22 kB / 0.5198 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.3932, allocations: 1.48 MB / 0.5212 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006701/0.4, allocations: 5.043 MB / 0.5261 GB, free: 5.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.4022, allocations: 2.575 MB / 0.5287 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.4022, allocations: 9 kB / 0.5287 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4023, allocations: 39.56 kB / 0.5287 GB, free: 2.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.836e-06/0.4023, allocations: 0 / 0.5287 GB, free: 2.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.006854/0.4091, allocations: 4.031 MB / 0.5326 GB, free: 14.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.4092, allocations: 64.36 kB / 0.5327 GB, free: 14.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4102, allocations: 0.781 MB / 0.5335 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.252e-05/0.4103, allocations: 41.7 kB / 0.5335 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.4106, allocations: 0.4999 MB / 0.534 GB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.4109, allocations: 303.5 kB / 0.5343 GB, free: 12.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.4109, allocations: 20 kB / 0.5343 GB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.411, allocations: 345.9 kB / 0.5346 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007284/0.4118, allocations: 0.4976 MB / 0.5351 GB, free: 11.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/0.4127, allocations: 0.5637 MB / 0.5357 GB, free: 11.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007862/0.4135, allocations: 0.5495 MB / 0.5362 GB, free: 10.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4135, allocations: 4 kB / 0.5362 GB, free: 10.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00239/0.4159, allocations: 1.577 MB / 0.5377 GB, free: 8.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.4159, allocations: 11.92 kB / 0.5378 GB, free: 8.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4159, allocations: 4 kB / 0.5378 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.417, allocations: 487 kB / 0.5382 GB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.4175, allocations: 147.8 kB / 0.5384 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/0.4257, allocations: 8.875 MB / 0.547 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.4265, allocations: 51.97 kB / 0.5471 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.4265, allocations: 24 kB / 0.5471 GB, free: 14.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007215/0.4273, allocations: 0.4937 MB / 0.5476 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.4274, allocations: 94.88 kB / 0.5477 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.4277, allocations: 133.3 kB / 0.5478 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4277, allocations: 15.94 kB / 0.5478 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4277, allocations: 0 / 0.5478 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4277, allocations: 7.969 kB / 0.5478 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004714/0.4324, allocations: 3.211 MB / 0.551 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4324, allocations: 0 / 0.551 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005104/0.433, allocations: 123.9 kB / 0.5511 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009481/0.4339, allocations: 487.2 kB / 0.5516 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.434, allocations: 20 kB / 0.5516 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007542/0.4415, allocations: 8.803 MB / 0.5602 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.4416, allocations: 10.56 kB / 0.5602 GB, free: 0.707 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.4449, allocations: 2.377 MB / 0.5625 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.4455, allocations: 295.9 kB / 0.5628 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4456, allocations: 16 kB / 0.5628 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/0.4461, allocations: 67.94 kB / 0.5629 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.4463, allocations: 88.81 kB / 0.5629 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/0.4464, allocations: 31.92 kB / 0.563 GB, free: 13.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007597/0.4472, allocations: 0.62 MB / 0.5636 GB, free: 13.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4472, allocations: 0 / 0.5636 GB, free: 13.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001116/0.4483, allocations: 312 kB / 0.5639 GB, free: 12.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor1.v,capacitor2.v) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.4485, allocations: 128.4 kB / 0.564 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002475/0.451, allocations: 1.796 MB / 0.5658 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.451, allocations: 0 / 0.5658 GB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.4526, allocations: 1.27 MB / 0.567 GB, free: 9.555 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.4535, allocations: 269.2 kB / 0.5673 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/0.4578, allocations: 3.291 MB / 0.5705 GB, free: 5.977 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.4588, allocations: 1.439 MB / 0.5719 GB, free: 4.508 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004707/0.4592, allocations: 179.7 kB / 0.572 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4594, allocations: 67.36 kB / 0.5721 GB, free: 4.266 MB / 442.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4594, allocations: 0 / 0.5721 GB, free: 4.266 MB / 442.7 MB Notification: Performance of Templates: time 0.1688/0.6282, allocations: 18.84 MB / 0.5905 GB, free: 109.2 MB / 442.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile (rm -f HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Rectifier.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Rectifier.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Rectifier.sim & ./HanserModelica_HanserModelica.Electrical.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1)