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.001538/0.001538, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.289/2.289, allocations: 222.9 MB / 239.5 MB, free: 4.758 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.002111/0.002111, allocations: 188.4 kB / 289.8 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05875/0.05875, allocations: 8.799 MB / 348.7 MB, free: 4.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003193/0.003193, allocations: 76.59 kB / 411 MB, free: 42.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1585, allocations: 51.57 MB / 462.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.01195/0.1705, allocations: 4.519 MB / 467.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.175, allocations: 1.133 MB / 468.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006166/0.1757, allocations: 23.88 kB / 468.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.1764, allocations: 143.1 kB / 468.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1782, allocations: 330.4 kB / 468.8 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.1788, allocations: 143.9 kB / 468.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003433/0.1822, allocations: 1.915 MB / 470.8 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.1844, allocations: 0.9798 MB / 471.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.1858, allocations: 0.5798 MB / 472.4 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.1878, allocations: 0.8015 MB / 473.2 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00055/0.1883, allocations: 104 kB / 473.3 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.189, allocations: 104 kB / 473.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007549/0.1898, allocations: 426.6 kB / 473.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.1913, allocations: 0.727 MB / 474.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002884/0.1942, allocations: 1.898 MB / 476.4 MB, free: 1.031 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.1942, allocations: 4 kB / 476.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1942, allocations: 7.938 kB / 476.4 MB, free: 1.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.953e-05/0.1943, allocations: 0 / 476.4 MB, free: 1.02 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.006424/0.2007, allocations: 1.796 MB / 478.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.2008, allocations: 12.03 kB / 478.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/0.2013, allocations: 151.2 kB / 478.4 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.2038, allocations: 0.9501 MB / 479.3 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.204, allocations: 82.61 kB / 479.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.2043, allocations: 116.1 kB / 479.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005407/0.2098, allocations: 1.689 MB / 481.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.2098, allocations: 0 / 481.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.2101, allocations: 48 kB / 481.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-05/0.2102, allocations: 42.23 kB / 481.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.2153, allocations: 1.558 MB / 482.9 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.2305, allocations: 5.002 MB / 487.9 MB, free: 5.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004858/0.2354, allocations: 2.572 MB / 490.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002574/0.238, allocations: 0.8488 MB / 491.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.2381, allocations: 13 kB / 491.3 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/0.2382, allocations: 43.56 kB / 491.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=92): time 9.127e-06/0.2382, allocations: 0 / 491.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=93): time 0.01605/0.2543, allocations: 4.078 MB / 495.4 MB, free: 13.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.2544, allocations: 64.34 kB / 495.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.2567, allocations: 0.8793 MB / 496.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.2569, allocations: 41.7 kB / 496.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.2576, allocations: 0.496 MB / 496.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.2581, allocations: 307.5 kB / 497.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004656/0.2586, allocations: 150.6 kB / 497.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003423/0.2589, allocations: 345.9 kB / 497.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.2605, allocations: 497.6 kB / 498.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.2621, allocations: 0.58 MB / 498.8 MB, free: 9.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/0.2652, allocations: 1.061 MB / 499.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.2653, allocations: 0 / 499.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005261/0.2705, allocations: 1.569 MB / 0.4896 GB, free: 7.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.2706, allocations: 4 kB / 0.4896 GB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2706, allocations: 0 / 0.4896 GB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.2728, allocations: 495 kB / 0.4901 GB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2739, allocations: 135.8 kB / 0.4902 GB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.2899, allocations: 8.74 MB / 0.4988 GB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2912, allocations: 47.94 kB / 0.4988 GB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.2914, allocations: 24 kB / 0.4988 GB, free: 13.31 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.001688/0.2931, allocations: 0.5093 MB / 0.4993 GB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.2936, allocations: 90.97 kB / 0.4994 GB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.2941, allocations: 133.3 kB / 0.4996 GB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.2941, allocations: 12 kB / 0.4996 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.2942, allocations: 0 / 0.4996 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.2942, allocations: 3.984 kB / 0.4996 GB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.3047, allocations: 3.181 MB / 0.5027 GB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.3048, allocations: 0 / 0.5027 GB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.306, allocations: 119.8 kB / 0.5028 GB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/0.3082, allocations: 487 kB / 0.5033 GB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.3084, allocations: 23.98 kB / 0.5033 GB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01691/0.3253, allocations: 8.662 MB / 0.5117 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3254, allocations: 0 / 0.5117 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007867/0.3333, allocations: 2.339 MB / 0.514 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.3344, allocations: 291.9 kB / 0.5143 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/0.3348, allocations: 20 kB / 0.5143 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.3361, allocations: 63.94 kB / 0.5144 GB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004392/0.3366, allocations: 88.8 kB / 0.5145 GB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.3367, allocations: 20 kB / 0.5145 GB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001881/0.3386, allocations: 0.6317 MB / 0.5151 GB, free: 11.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3386, allocations: 0 / 0.5151 GB, free: 11.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002691/0.3414, allocations: 312 kB / 0.5154 GB, free: 11.66 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.0003298/0.3417, allocations: 124.5 kB / 0.5155 GB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.3474, allocations: 1.776 MB / 0.5173 GB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.3474, allocations: 4 kB / 0.5173 GB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/0.351, allocations: 1.254 MB / 0.5185 GB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002989/0.354, allocations: 269 kB / 0.5187 GB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/0.3639, allocations: 3.374 MB / 0.522 GB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/0.366, allocations: 1.389 MB / 0.5234 GB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/0.3667, allocations: 63.42 kB / 0.5234 GB, free: 3.246 MB / 366.1 MB Notification: Performance of SimCode: time 1.492e-06/0.3667, allocations: 0 / 0.5234 GB, free: 3.246 MB / 366.1 MB Notification: Performance of Templates: time 0.3165/0.6833, allocations: 41.17 MB / 0.5637 GB, free: 42.66 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)