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.001056/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.238/1.238, allocations: 222.9 MB / 238.8 MB, free: 4.766 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.001144/0.001144, allocations: 192.5 kB / 289.1 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.032/0.032, allocations: 8.782 MB / 348.1 MB, free: 4.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.98 kB / 410.4 MB, free: 42.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 51.57 MB / 462 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006664/0.1111, allocations: 4.511 MB / 466.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1139, allocations: 1.145 MB / 467.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.1144, allocations: 27.88 kB / 467.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.1148, allocations: 139.1 kB / 467.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009285/0.1157, allocations: 330.4 kB / 468.1 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.116, allocations: 147.8 kB / 468.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1177, allocations: 1.907 MB / 470.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.1189, allocations: 0.9836 MB / 471.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008636/0.1198, allocations: 0.5721 MB / 471.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.1208, allocations: 0.8132 MB / 472.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.121, allocations: 104 kB / 472.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.1212, allocations: 104 kB / 472.7 MB, free: 4.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.1216, allocations: 418.7 kB / 473.1 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007916/0.1224, allocations: 0.7308 MB / 473.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.1244, allocations: 2.239 MB / 476.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1244, allocations: 0 / 476.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1244, allocations: 0 / 476.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.448e-05/0.1245, allocations: 0 / 476.1 MB, free: 0.6523 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.003829/0.1283, allocations: 1.8 MB / 477.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.1284, allocations: 8.031 kB / 477.9 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1286, allocations: 155.2 kB / 478.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001425/0.1301, allocations: 0.9502 MB / 479 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.948e-05/0.1301, allocations: 82.61 kB / 479.1 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.1303, allocations: 112.1 kB / 479.2 MB, free: 13.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002649/0.133, allocations: 1.689 MB / 480.9 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.133, allocations: 4 kB / 480.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.1331, allocations: 44 kB / 480.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.147e-05/0.1332, allocations: 58.16 kB / 481 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.1357, allocations: 1.547 MB / 482.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007143/0.1429, allocations: 4.998 MB / 487.5 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/0.1453, allocations: 2.58 MB / 490.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.1464, allocations: 0.8449 MB / 491 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.1465, allocations: 9 kB / 491 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1466, allocations: 47.5 kB / 491 MB, free: 1.176 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 2.675e-06/0.1466, allocations: 4 kB / 491 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.007507/0.1541, allocations: 4.07 MB / 495.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1542, allocations: 64.41 kB / 495.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.1553, allocations: 0.8793 MB / 496 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.794e-05/0.1554, allocations: 41.7 kB / 496.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003297/0.1557, allocations: 0.4999 MB / 496.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.1559, allocations: 311.5 kB / 496.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1562, allocations: 146.6 kB / 497 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1563, allocations: 341.9 kB / 497.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.1571, allocations: 0.4938 MB / 497.8 MB, free: 10.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.1579, allocations: 0.5722 MB / 498.4 MB, free: 9.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1594, allocations: 1.057 MB / 499.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1594, allocations: 0 / 499.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002495/0.1619, allocations: 1.569 MB / 0.4893 GB, free: 6.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1619, allocations: 8 kB / 0.4893 GB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.162, allocations: 0 / 0.4893 GB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.163, allocations: 495 kB / 0.4898 GB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.1635, allocations: 135.8 kB / 0.4899 GB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008364/0.1719, allocations: 8.748 MB / 0.4985 GB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.1728, allocations: 43.98 kB / 0.4985 GB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.1728, allocations: 24 kB / 0.4985 GB, free: 12.94 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_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.0008586/0.1737, allocations: 0.5014 MB / 0.499 GB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.1739, allocations: 90.97 kB / 0.4991 GB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.1741, allocations: 137.3 kB / 0.4992 GB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1741, allocations: 8 kB / 0.4992 GB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.1741, allocations: 4 kB / 0.4992 GB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1741, allocations: 3.984 kB / 0.4992 GB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005214/0.1793, allocations: 3.184 MB / 0.5024 GB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.1794, allocations: 8.062 kB / 0.5024 GB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.1799, allocations: 115.9 kB / 0.5025 GB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.181, allocations: 486.9 kB / 0.5029 GB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/0.1811, allocations: 19.98 kB / 0.503 GB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008917/0.19, allocations: 8.67 MB / 0.5114 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1901, allocations: 0 / 0.5114 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/0.1941, allocations: 2.343 MB / 0.5137 GB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006227/0.1947, allocations: 291.9 kB / 0.514 GB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.195, allocations: 16 kB / 0.514 GB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005809/0.1955, allocations: 55.94 kB / 0.5141 GB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.1958, allocations: 88.86 kB / 0.5141 GB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.1959, allocations: 28 kB / 0.5142 GB, free: 12.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009368/0.1968, allocations: 0.6317 MB / 0.5148 GB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1968, allocations: 0 / 0.5148 GB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001399/0.1982, allocations: 308 kB / 0.5151 GB, free: 11.29 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 (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 Backend phase and start with SimCode phase: time 0.0002106/0.1984, allocations: 129 kB / 0.5152 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.2012, allocations: 1.776 MB / 0.5169 GB, free: 9.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2012, allocations: 3.938 kB / 0.5169 GB, free: 9.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.203, allocations: 1.262 MB / 0.5182 GB, free: 8.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.2043, allocations: 268.7 kB / 0.5184 GB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/0.2093, allocations: 3.36 MB / 0.5217 GB, free: 4.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.2105, allocations: 1.412 MB / 0.5231 GB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005825/0.2111, allocations: 191.8 kB / 0.5233 GB, free: 2.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.2113, allocations: 59.42 kB / 0.5233 GB, free: 2.672 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.2113, allocations: 0 / 0.5233 GB, free: 2.672 MB / 366.1 MB Notification: Performance of Templates: time 0.1705/0.3818, allocations: 19.65 MB / 0.5425 GB, free: 62.5 MB / 366.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)