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.001796/0.001796, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06617/0.06617, allocations: 8.714 MB / 16.79 MB, free: 3.391 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.5 MB / 240.9 MB, free: 13.2 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.001036/0.001036, allocations: 98.38 kB / 293.9 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.593e-05, allocations: 0 / 352.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 52.54 MB / 405.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4845, allocations: 85.3 MB / 490.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4848, allocations: 65.47 kB / 490.5 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05191/0.5367, allocations: 21.72 MB / 0.5003 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5368, allocations: 0 / 0.5003 GB, free: 13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.823e-05/0.5369, allocations: 24 kB / 0.5003 GB, free: 12.97 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.002667/0.5395, allocations: 1.434 MB / 0.5017 GB, free: 11.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.5396, allocations: 11.98 kB / 0.5017 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.5399, allocations: 154.2 kB / 0.5018 GB, free: 11.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.5412, allocations: 0.9241 MB / 0.5027 GB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.5413, allocations: 36 kB / 0.5028 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5414, allocations: 67.98 kB / 0.5028 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001996/0.5434, allocations: 1.32 MB / 0.5041 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.5456, allocations: 1.438 MB / 0.5055 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5457, allocations: 0 / 0.5055 GB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/0.5458, allocations: 4 kB / 0.5055 GB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.265e-05/0.5458, allocations: 42.23 kB / 0.5056 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007125/0.553, allocations: 4.826 MB / 0.5103 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.555, allocations: 2.491 MB / 0.5127 GB, free: 15.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.5561, allocations: 0.8204 MB / 0.5135 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.5562, allocations: 10.66 kB / 0.5135 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5562, allocations: 47.34 kB / 0.5136 GB, free: 14.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.925e-06/0.5562, allocations: 0 / 0.5136 GB, free: 14.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.003987/0.5602, allocations: 2.6 MB / 0.5161 GB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5603, allocations: 64.12 kB / 0.5162 GB, free: 12.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5613, allocations: 0.7027 MB / 0.5169 GB, free: 11.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.256e-05/0.5614, allocations: 25.7 kB / 0.5169 GB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.5618, allocations: 0.4959 MB / 0.5174 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.562, allocations: 291.6 kB / 0.5177 GB, free: 10.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.5621, allocations: 0 / 0.5177 GB, free: 10.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.5623, allocations: 402.7 kB / 0.518 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.5629, allocations: 450.4 kB / 0.5185 GB, free: 9.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006869/0.5636, allocations: 0.5098 MB / 0.519 GB, free: 9.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.5643, allocations: 0.4942 MB / 0.5194 GB, free: 8.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5644, allocations: 0 / 0.5194 GB, free: 8.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002204/0.5666, allocations: 1.42 MB / 0.5208 GB, free: 7.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.5666, allocations: 4 kB / 0.5208 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.5666, allocations: 4 kB / 0.5208 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001105/0.5677, allocations: 484.5 kB / 0.5213 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.5683, allocations: 149.8 kB / 0.5214 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/0.5775, allocations: 8.426 MB / 0.5297 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.5784, allocations: 35.94 kB / 0.5297 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.5786, allocations: 24 kB / 0.5297 GB, free: 13.66 MB / 410.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 () * 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.0003155/0.5789, allocations: 122 kB / 0.5298 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.5792, allocations: 86.97 kB / 0.5299 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.5796, allocations: 117 kB / 0.53 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5796, allocations: 15.94 kB / 0.5301 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.5796, allocations: 1.688 kB / 0.5301 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5796, allocations: 7.938 kB / 0.5301 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005315/0.585, allocations: 2.886 MB / 0.5329 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.585, allocations: 128 / 0.5329 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.5855, allocations: 135.8 kB / 0.533 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009909/0.5866, allocations: 469 kB / 0.5335 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.414e-05/0.5866, allocations: 11.98 kB / 0.5335 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008373/0.595, allocations: 8.342 MB / 0.5416 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5951, allocations: 0 / 0.5416 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.5983, allocations: 2.151 MB / 0.5437 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.5989, allocations: 296.1 kB / 0.544 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.5991, allocations: 8.75 kB / 0.544 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006216/0.5998, allocations: 51.94 kB / 0.5441 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.6, allocations: 92.58 kB / 0.5442 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.6001, allocations: 20.09 kB / 0.5442 GB, free: 14.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008764/0.6009, allocations: 0.5498 MB / 0.5447 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.601, allocations: 0 / 0.5447 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001379/0.6023, allocations: 276 kB / 0.545 GB, free: 13.43 MB / 426.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 () * 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.0002162/0.6026, allocations: 116.6 kB / 0.5451 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002506/0.6051, allocations: 1.627 MB / 0.5467 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6051, allocations: 8.062 kB / 0.5467 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00156/0.6067, allocations: 1.142 MB / 0.5478 GB, free: 10.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.608, allocations: 229.3 kB / 0.548 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.6126, allocations: 2.25 MB / 0.5502 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.614, allocations: 1.447 MB / 0.5516 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005793/0.6146, allocations: 175.3 kB / 0.5518 GB, free: 6.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.6148, allocations: 51.44 kB / 0.5518 GB, free: 6.25 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6149, allocations: 0 / 0.5518 GB, free: 6.25 MB / 426.7 MB Notification: Performance of Templates: time 0.02951/0.6444, allocations: 16.53 MB / 0.568 GB, free: 5.973 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)