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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 110.7 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 196.5 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03652/0.03652, allocations: 8.793 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 80.06 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.08072, allocations: 51.56 MB / 0.504 GB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005038/0.08579, allocations: 4.521 MB / 0.5085 GB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.08743, allocations: 1.145 MB / 0.5096 GB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.08766, allocations: 19.94 kB / 0.5096 GB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.08798, allocations: 170.6 kB / 0.5098 GB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007491/0.08875, allocations: 354 kB / 0.5101 GB, free: 3.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.08903, allocations: 171.7 kB / 0.5103 GB, free: 3.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.09043, allocations: 1.658 MB / 0.5119 GB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.09159, allocations: 1.154 MB / 0.513 GB, free: 220 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000633/0.09223, allocations: 0.7048 MB / 0.5137 GB, free: 15.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009292/0.09317, allocations: 0.8445 MB / 0.5145 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.0934, allocations: 184 kB / 0.5147 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.09369, allocations: 184 kB / 0.5149 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.09407, allocations: 0.4909 MB / 0.5154 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.09474, allocations: 0.8168 MB / 0.5162 GB, free: 12.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.09648, allocations: 2.337 MB / 0.5184 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.0965, allocations: 3.938 kB / 0.5184 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0965, allocations: 0 / 0.5184 GB, free: 10.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.09652, allocations: 0 / 0.5184 GB, free: 10.64 MB / 366.1 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.002894/0.09942, allocations: 1.806 MB / 0.5202 GB, free: 8.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.09947, allocations: 8.031 kB / 0.5202 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.0997, allocations: 151.2 kB / 0.5204 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.101, allocations: 0.9738 MB / 0.5213 GB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.1011, allocations: 82.61 kB / 0.5214 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.1012, allocations: 116 kB / 0.5215 GB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.1038, allocations: 1.693 MB / 0.5231 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.1038, allocations: 0 / 0.5231 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.104, allocations: 44 kB / 0.5232 GB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.104, allocations: 54.16 kB / 0.5232 GB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.1065, allocations: 1.554 MB / 0.5248 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1706/0.2771, allocations: 4.949 MB / 0.5296 GB, free: 22.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.2789, allocations: 2.568 MB / 0.5321 GB, free: 20.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.2799, allocations: 0.8528 MB / 0.5329 GB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.28, allocations: 10.88 kB / 0.5329 GB, free: 20.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.28, allocations: 44.56 kB / 0.533 GB, free: 20.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 4.558e-06/0.28, allocations: 1.484 kB / 0.533 GB, free: 20.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006982/0.287, allocations: 4.07 MB / 0.537 GB, free: 20.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.2871, allocations: 64.91 kB / 0.537 GB, free: 20.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.2881, allocations: 0.8737 MB / 0.5379 GB, free: 20.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.73e-05/0.2882, allocations: 41.77 kB / 0.5379 GB, free: 19.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.2885, allocations: 0.5058 MB / 0.5384 GB, free: 19.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.2886, allocations: 310.8 kB / 0.5387 GB, free: 19.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.2889, allocations: 149.4 kB / 0.5388 GB, free: 19.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.342e-05/0.2889, allocations: 340.2 kB / 0.5392 GB, free: 19.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.2897, allocations: 0.4926 MB / 0.5397 GB, free: 19.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007932/0.2905, allocations: 0.5681 MB / 0.5402 GB, free: 19.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.292, allocations: 1.061 MB / 0.5412 GB, free: 19.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.292, allocations: 0 / 0.5412 GB, free: 19.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00252/0.2945, allocations: 1.569 MB / 0.5428 GB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2946, allocations: 8.203 kB / 0.5428 GB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2946, allocations: 1.281 kB / 0.5428 GB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.2956, allocations: 492.5 kB / 0.5433 GB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.2962, allocations: 136.2 kB / 0.5434 GB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007335/0.3036, allocations: 9.593 MB / 0.5528 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.3041, allocations: 47 kB / 0.5528 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.3042, allocations: 27.53 kB / 0.5528 GB, free: 11.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006615/0.3049, allocations: 0.5008 MB / 0.5533 GB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.305, allocations: 99.61 kB / 0.5534 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.3053, allocations: 128.9 kB / 0.5535 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3053, allocations: 5.484 kB / 0.5535 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3053, allocations: 3.438 kB / 0.5535 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.3056, allocations: 291.4 kB / 0.5538 GB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.3058, allocations: 17.62 kB / 0.5538 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005272/0.3063, allocations: 66.61 kB / 0.5539 GB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.3065, allocations: 78.58 kB / 0.554 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003313/0.3098, allocations: 1.841 MB / 0.5558 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002499/0.3123, allocations: 2.064 MB / 0.5578 GB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007471/0.3131, allocations: 0.597 MB / 0.5584 GB, free: 9.008 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006357/0.3137, allocations: 0.6314 MB / 0.559 GB, free: 8.652 MB / 366.1 MB Notification: Performance of Backend: time 3.51e-07/0.3138, allocations: 0 / 0.559 GB, free: 8.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.3158, allocations: 1.407 MB / 0.5604 GB, free: 7.617 MB / 366.1 MB Notification: Performance of SimCode: time 0.00353/0.3193, allocations: 3.225 MB / 0.5635 GB, free: 5.543 MB / 366.1 MB Notification: Performance of Templates: time 0.02582/0.3452, allocations: 19.93 MB / 0.583 GB, free: 4.094 MB / 382.1 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)