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.001408/0.001408, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05884/0.05884, allocations: 8.702 MB / 21.96 MB, free: 3.367 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.508/1.508, allocations: 221.4 MB / 246 MB, free: 3.559 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.0009839/0.0009838, allocations: 95.84 kB / 299.1 MB, free: 2.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.748e-05, allocations: 4 kB / 359.5 MB, free: 6.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.369, allocations: 85.97 MB / 498 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.3693, allocations: 67.95 kB / 498.1 MB, free: 408 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2728/0.6421, allocations: 21.95 MB / 0.5079 GB, free: 85.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6421, allocations: 0 / 0.5079 GB, free: 85.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.951e-05/0.6422, allocations: 34.19 kB / 0.5079 GB, free: 85.96 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.002626/0.6448, allocations: 1.434 MB / 0.5093 GB, free: 85.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.6449, allocations: 9.719 kB / 0.5093 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.6452, allocations: 152.3 kB / 0.5094 GB, free: 85.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.6467, allocations: 0.9172 MB / 0.5103 GB, free: 84.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/0.6467, allocations: 91.78 kB / 0.5104 GB, free: 84.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.6469, allocations: 109.3 kB / 0.5105 GB, free: 84.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.6489, allocations: 1.6 MB / 0.5121 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.649, allocations: 3.781 kB / 0.5121 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.6491, allocations: 45.97 kB / 0.5121 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.6491, allocations: 51.31 kB / 0.5122 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.6508, allocations: 1.389 MB / 0.5135 GB, free: 84.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005899/0.6567, allocations: 5.037 MB / 0.5185 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.6583, allocations: 2.525 MB / 0.5209 GB, free: 79.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008174/0.6591, allocations: 0.8196 MB / 0.5217 GB, free: 79.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.6592, allocations: 24.17 kB / 0.5218 GB, free: 79.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.6592, allocations: 43.22 kB / 0.5218 GB, free: 79.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.675e-06/0.6592, allocations: 0 / 0.5218 GB, free: 79.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.003572/0.6628, allocations: 2.745 MB / 0.5245 GB, free: 78.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.6629, allocations: 61.5 kB / 0.5245 GB, free: 78.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008439/0.6637, allocations: 0.7801 MB / 0.5253 GB, free: 77.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.6638, allocations: 44.92 kB / 0.5253 GB, free: 77.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.664, allocations: 0.4959 MB / 0.5258 GB, free: 77.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/0.6642, allocations: 309 kB / 0.5261 GB, free: 77.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.6642, allocations: 16 kB / 0.5261 GB, free: 77.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.334e-05/0.6643, allocations: 344.6 kB / 0.5265 GB, free: 76.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.6648, allocations: 466 kB / 0.5269 GB, free: 76.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.6654, allocations: 0.5277 MB / 0.5274 GB, free: 75.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/0.666, allocations: 0.505 MB / 0.5279 GB, free: 75.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.666, allocations: 0 / 0.5279 GB, free: 75.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001789/0.6678, allocations: 1.493 MB / 0.5294 GB, free: 74.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.6678, allocations: 8 kB / 0.5294 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6678, allocations: 0 / 0.5294 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009058/0.6687, allocations: 498 kB / 0.5299 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.6692, allocations: 141.4 kB / 0.53 GB, free: 73.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006147/0.6754, allocations: 8.731 MB / 0.5385 GB, free: 65.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006903/0.6761, allocations: 46.55 kB / 0.5386 GB, free: 64.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.6762, allocations: 27.81 kB / 0.5386 GB, free: 64.96 MB / 378.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.0002195/0.6764, allocations: 156.6 kB / 0.5387 GB, free: 64.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.6766, allocations: 90.97 kB / 0.5388 GB, free: 64.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.6769, allocations: 127.5 kB / 0.5389 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6769, allocations: 12 kB / 0.539 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.6769, allocations: 3.25 kB / 0.539 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6769, allocations: 3.375 kB / 0.539 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.6809, allocations: 3.117 MB / 0.542 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6809, allocations: 0 / 0.542 GB, free: 61.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004809/0.6814, allocations: 123.9 kB / 0.5421 GB, free: 61.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007977/0.6822, allocations: 490.6 kB / 0.5426 GB, free: 60.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.6823, allocations: 16 kB / 0.5426 GB, free: 60.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006381/0.6887, allocations: 8.633 MB / 0.551 GB, free: 51.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6887, allocations: 0 / 0.551 GB, free: 51.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.6912, allocations: 2.249 MB / 0.5532 GB, free: 49.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.6917, allocations: 291.9 kB / 0.5535 GB, free: 49.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.6918, allocations: 16 kB / 0.5535 GB, free: 49.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.6923, allocations: 63.94 kB / 0.5536 GB, free: 49.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6925, allocations: 95.64 kB / 0.5537 GB, free: 49.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.6926, allocations: 24 kB / 0.5537 GB, free: 49.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006372/0.6932, allocations: 0.6162 MB / 0.5543 GB, free: 48.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.6932, allocations: 0 / 0.5543 GB, free: 48.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001078/0.6943, allocations: 315.9 kB / 0.5546 GB, free: 48.11 MB / 378.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.0001525/0.6945, allocations: 139.1 kB / 0.5547 GB, free: 47.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001802/0.6963, allocations: 1.694 MB / 0.5564 GB, free: 46.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6963, allocations: 0 / 0.5564 GB, free: 46.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.6975, allocations: 1.209 MB / 0.5576 GB, free: 44.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.6985, allocations: 264.8 kB / 0.5578 GB, free: 44.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.7016, allocations: 2.32 MB / 0.5601 GB, free: 42.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.7022, allocations: 1.442 MB / 0.5615 GB, free: 40.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003946/0.7027, allocations: 179.3 kB / 0.5617 GB, free: 40.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.7028, allocations: 55.44 kB / 0.5617 GB, free: 40.68 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7028, allocations: 0 / 0.5617 GB, free: 40.68 MB / 378.7 MB Notification: Performance of Templates: time 0.02253/0.7253, allocations: 18.85 MB / 0.5801 GB, free: 22.14 MB / 378.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)