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.0008538/0.0008537, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.418/1.418, allocations: 223.3 MB / 239 MB, free: 5.621 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.001233/0.001233, allocations: 183.6 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03452/0.03452, allocations: 8.79 MB / 350.2 MB, free: 4.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004403, allocations: 14.53 kB / 413.2 MB, free: 43.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 52.56 MB / 465.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004753/0.1079, allocations: 3.901 MB / 469.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002707/0.1107, allocations: 1.107 MB / 470.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006296/0.1113, allocations: 23.88 kB / 470.8 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.1119, allocations: 127.1 kB / 470.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1131, allocations: 326.4 kB / 471.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1135, allocations: 99.89 kB / 471.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.1154, allocations: 1.716 MB / 473 MB, free: 6.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.1166, allocations: 0.7745 MB / 473.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008654/0.1175, allocations: 0.5098 MB / 474.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.1187, allocations: 0.6926 MB / 475 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.1191, allocations: 76 kB / 475.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.1196, allocations: 76 kB / 475.2 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.1202, allocations: 374.8 kB / 475.5 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005818/0.1208, allocations: 305 kB / 475.8 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.1228, allocations: 1.854 MB / 477.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1228, allocations: 0 / 477.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1228, allocations: 0 / 477.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.125e-05/0.1229, allocations: 0 / 477.7 MB, free: 1.613 MB / 302.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.00352/0.1264, allocations: 1.596 MB / 479.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1265, allocations: 8.031 kB / 479.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.127, allocations: 154 kB / 479.4 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.1287, allocations: 0.9146 MB / 480.4 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.1288, allocations: 86.23 kB / 480.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.1289, allocations: 111.9 kB / 480.6 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/0.1317, allocations: 1.693 MB / 482.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.1317, allocations: 4 kB / 482.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.1318, allocations: 40 kB / 482.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.1319, allocations: 62.16 kB / 482.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.1344, allocations: 1.566 MB / 483.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007584/0.142, allocations: 5.033 MB / 488.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.1446, allocations: 2.58 MB / 491.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.1459, allocations: 0.8681 MB / 492.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.1459, allocations: 9 kB / 492.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.146, allocations: 43.56 kB / 492.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.735e-06/0.146, allocations: 0 / 492.4 MB, free: 2.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007498/0.1535, allocations: 4.133 MB / 496.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1535, allocations: 60.41 kB / 496.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.1548, allocations: 0.8638 MB / 497.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.1549, allocations: 41.7 kB / 497.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003667/0.1552, allocations: 0.5115 MB / 498.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.1555, allocations: 311.5 kB / 498.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.1556, allocations: 15.94 kB / 498.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1557, allocations: 345.9 kB / 498.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/0.1565, allocations: 0.4977 MB / 499.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/0.1573, allocations: 0.5723 MB / 499.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.1582, allocations: 0.5573 MB / 0.4886 GB, free: 10.23 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1582, allocations: 0 / 0.4886 GB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002605/0.1609, allocations: 1.585 MB / 0.4902 GB, free: 8.625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1609, allocations: 4 kB / 0.4902 GB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1609, allocations: 0 / 0.4902 GB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.162, allocations: 495 kB / 0.4906 GB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.1625, allocations: 139.8 kB / 0.4908 GB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/0.1712, allocations: 8.733 MB / 0.4993 GB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.172, allocations: 56.03 kB / 0.4994 GB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.1722, allocations: 28 kB / 0.4994 GB, free: 14.64 MB / 350.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_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 (70): * Single equations (assignments): 66 * 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.0008957/0.1731, allocations: 0.4898 MB / 0.4999 GB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.1733, allocations: 102.8 kB / 0.5 GB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.1736, allocations: 133.2 kB / 0.5001 GB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1736, allocations: 8 kB / 0.5001 GB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.1737, allocations: 4 kB / 0.5001 GB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.1737, allocations: 11.97 kB / 0.5001 GB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.1789, allocations: 3.208 MB / 0.5032 GB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1789, allocations: 0 / 0.5032 GB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/0.1794, allocations: 131.9 kB / 0.5034 GB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.1805, allocations: 479 kB / 0.5038 GB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.303e-05/0.1806, allocations: 20 kB / 0.5038 GB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008355/0.1889, allocations: 8.658 MB / 0.5123 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.189, allocations: 0 / 0.5123 GB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/0.1927, allocations: 2.374 MB / 0.5146 GB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/0.1933, allocations: 283.9 kB / 0.5149 GB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.1935, allocations: 28.03 kB / 0.5149 GB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.1941, allocations: 71.88 kB / 0.515 GB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.1943, allocations: 88.8 kB / 0.5151 GB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.1944, allocations: 28 kB / 0.5151 GB, free: 13.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009393/0.1953, allocations: 0.62 MB / 0.5157 GB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1953, allocations: 4 kB / 0.5157 GB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001348/0.1967, allocations: 312 kB / 0.516 GB, free: 12.92 MB / 366.1 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.0001936/0.1969, allocations: 120.3 kB / 0.5161 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002904/0.1998, allocations: 1.803 MB / 0.5179 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1998, allocations: 0 / 0.5179 GB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.2016, allocations: 1.258 MB / 0.5191 GB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.203, allocations: 291.5 kB / 0.5194 GB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.2084, allocations: 3.308 MB / 0.5226 GB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001331/0.2098, allocations: 1.427 MB / 0.524 GB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006132/0.2104, allocations: 183.8 kB / 0.5242 GB, free: 4.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.2106, allocations: 59.44 kB / 0.5242 GB, free: 4.312 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2106, allocations: 0 / 0.5242 GB, free: 4.312 MB / 366.1 MB Notification: Performance of Templates: time 0.2299/0.4405, allocations: 18.81 MB / 0.5426 GB, free: 62.6 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: