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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001198/0.00223, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1615/1.168, allocations: 53.64 MB / 241.9 MB, free: 2.727 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 145.4 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001088/0.002121, allocations: 478.8 kB / 243.2 MB, free: 1.418 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02408/0.02408, allocations: 6.648 MB / 250.6 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005635/0.02972, allocations: 2.661 MB / 253.3 MB, free: 7.559 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") translateModel(HanserModelica.Electrical.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=800,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 4 kB / 254.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.876e-05, allocations: 2.312 kB / 254.6 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004136/0.004155, allocations: 4.503 MB / 259.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.006186, allocations: 1.265 MB / 260.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.006511, allocations: 39.75 kB / 260.4 MB, free: 468 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.006784, allocations: 182.6 kB / 260.5 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009064/0.007691, allocations: 373.7 kB / 260.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.008063, allocations: 191.6 kB / 261.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.009386, allocations: 1.719 MB / 262.8 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.00997, allocations: 0.6192 MB / 263.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.01102, allocations: 1.145 MB / 264.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.01191, allocations: 0.8419 MB / 265.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.01211, allocations: 180 kB / 265.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.01235, allocations: 184 kB / 265.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.01266, allocations: 442.9 kB / 266.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004234/0.01308, allocations: 479.2 kB / 266.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.01411, allocations: 1.301 MB / 268 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.807e-05/0.01413, allocations: 0 / 268 MB, free: 8.773 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.01413, allocations: 0 / 268 MB, free: 8.773 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.01416, allocations: 0 / 268 MB, free: 8.773 MB / 266.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.002103/0.01626, allocations: 1.917 MB / 269.9 MB, free: 6.824 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.0163, allocations: 8.031 kB / 269.9 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.01669, allocations: 293.8 kB / 270.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007108/0.0174, allocations: 0.6066 MB / 270.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.01745, allocations: 78.61 kB / 270.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.01757, allocations: 124.3 kB / 271 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.01863, allocations: 0.9775 MB / 272 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.01866, allocations: 3.938 kB / 272 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/0.01873, allocations: 44 kB / 272 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/0.01879, allocations: 50.22 kB / 272.1 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.01931, allocations: 295.4 kB / 272.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.0226, allocations: 2.799 MB / 275.2 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.02324, allocations: 0.647 MB / 275.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.02354, allocations: 313.7 kB / 276.1 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.02359, allocations: 17 kB / 276.1 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.02362, allocations: 39.56 kB / 276.2 MB, free: 324 kB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 3.987e-06/0.02362, allocations: 0 / 276.2 MB, free: 324 kB / 266.7 MB Notification: Performance of matching and sorting (n=93): time 0.002559/0.02618, allocations: 1.46 MB / 277.6 MB, free: 14.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.02621, allocations: 64.39 kB / 277.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004355/0.02665, allocations: 0.5391 MB / 278.2 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.02669, allocations: 41.7 kB / 278.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.02695, allocations: 434.7 kB / 278.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.02713, allocations: 325.1 kB / 279 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.02728, allocations: 142.6 kB / 279.1 MB, free: 13.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.0274, allocations: 398.6 kB / 279.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.02753, allocations: 89.89 kB / 279.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.02769, allocations: 162.3 kB / 279.8 MB, free: 12.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.02802, allocations: 317.9 kB / 280.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02803, allocations: 0 / 280.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0006459/0.02867, allocations: 0.5102 MB / 280.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.02869, allocations: 4 kB / 280.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.0287, allocations: 4 kB / 280.6 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000462/0.02916, allocations: 207.2 kB / 280.8 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.02952, allocations: 159.7 kB / 281 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.03315, allocations: 6.47 MB / 287.4 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.03341, allocations: 39.92 kB / 287.5 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.03345, allocations: 12 kB / 287.5 MB, free: 4.477 MB / 282.7 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.0002632/0.03371, allocations: 168.5 kB / 287.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.03381, allocations: 83.91 kB / 287.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.03393, allocations: 121.1 kB / 287.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.03394, allocations: 8 kB / 287.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.03394, allocations: 4 kB / 287.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.03395, allocations: 3.984 kB / 287.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.03571, allocations: 1.37 MB / 289.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.03572, allocations: 0 / 289.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.03602, allocations: 141.7 kB / 289.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.03621, allocations: 115.4 kB / 289.5 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.0366, allocations: 224.9 kB / 289.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.03664, allocations: 19.98 kB / 289.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003488/0.04013, allocations: 6.549 MB / 296.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.04013, allocations: 0 / 296.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/0.04106, allocations: 0.813 MB / 297.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.04114, allocations: 19.98 kB / 297.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.04135, allocations: 35.92 kB / 297.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.04149, allocations: 80.84 kB / 297.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.04152, allocations: 24.12 kB / 297.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.04175, allocations: 268.5 kB / 297.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04175, allocations: 0 / 297.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000819/0.04257, allocations: 312 kB / 297.8 MB, free: 9.656 MB / 298.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 () * 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.0001357/0.04271, allocations: 104.3 kB / 297.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.04373, allocations: 1.02 MB / 298.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.407e-05/0.04375, allocations: 20.62 kB / 299 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.04444, allocations: 0.854 MB / 299.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006463/0.04508, allocations: 357.6 kB / 300.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/0.05275, allocations: 2.498 MB / 302.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.05307, allocations: 364.5 kB / 303 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.05337, allocations: 91.64 kB / 303.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.0538, allocations: 281.1 kB / 303.4 MB, free: 3.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.0538, allocations: 3.938 kB / 303.4 MB, free: 3.906 MB / 298.7 MB Notification: Performance of Templates: time 0.02711/0.08092, allocations: 22.12 MB / 325.5 MB, free: 14.11 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Rectifier.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1130355037748814]