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.001434/0.001434, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.033/1.033, allocations: 177.1 MB / 201 MB, free: 5.707 MB / 186.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.001258/0.001258, allocations: 167 kB / 257.7 MB, free: 12.98 MB / 250.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.02744/0.02744, allocations: 6.661 MB / 320.9 MB, free: 26.33 MB / 266.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 1.152e-06/1.152e-06, allocations: 0 / 392.8 MB, free: 2.277 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.854e-05, allocations: 9.906 kB / 392.9 MB, free: 2.27 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.003968/0.003987, allocations: 4.434 MB / 397.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.005441, allocations: 1.215 MB / 398.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.00565, allocations: 31.81 kB / 398.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.006021, allocations: 182.6 kB / 398.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.00668, allocations: 381.5 kB / 399.1 MB, free: 12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.006989, allocations: 187.6 kB / 399.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.008168, allocations: 1.708 MB / 401 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006228/0.008791, allocations: 0.5997 MB / 401.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.009991, allocations: 1.064 MB / 402.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.01102, allocations: 0.8575 MB / 403.5 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002573/0.01128, allocations: 180 kB / 403.7 MB, free: 7.363 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.01154, allocations: 188 kB / 403.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.01187, allocations: 0.5259 MB / 404.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.01244, allocations: 0.573 MB / 405 MB, free: 6.078 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.01354, allocations: 1.387 MB / 406.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.01355, allocations: 0 / 406.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01355, allocations: 0 / 406.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.01358, allocations: 0 / 406.3 MB, free: 4.688 MB / 330.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.002189/0.01577, allocations: 1.847 MB / 408.2 MB, free: 2.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.01581, allocations: 12.03 kB / 408.2 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.01624, allocations: 267.9 kB / 408.5 MB, free: 2.523 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.01712, allocations: 0.7992 MB / 409.3 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.01717, allocations: 90.55 kB / 409.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.01729, allocations: 112.4 kB / 409.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.01833, allocations: 0.9734 MB / 410.4 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.01835, allocations: 7.875 kB / 410.4 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.01842, allocations: 44 kB / 410.5 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.01847, allocations: 50.23 kB / 410.5 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1205/0.139, allocations: 332.2 kB / 410.9 MB, free: 80.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.1435, allocations: 3.722 MB / 414.6 MB, free: 79.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.1443, allocations: 0.7306 MB / 415.3 MB, free: 78.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.1446, allocations: 340.3 kB / 415.6 MB, free: 78.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1447, allocations: 15.56 kB / 415.7 MB, free: 78.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.1447, allocations: 49.73 kB / 415.7 MB, free: 78.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.976e-06/0.1447, allocations: 0 / 415.7 MB, free: 78.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.00288/0.1476, allocations: 1.632 MB / 417.3 MB, free: 78.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.1476, allocations: 61.97 kB / 417.4 MB, free: 78.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.1482, allocations: 0.7034 MB / 418.1 MB, free: 77.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.1483, allocations: 41.67 kB / 418.1 MB, free: 77.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.1486, allocations: 0.5883 MB / 418.7 MB, free: 77.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.1487, allocations: 338.8 kB / 419.1 MB, free: 77.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1489, allocations: 165.8 kB / 419.2 MB, free: 77.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.1491, allocations: 0.6158 MB / 419.8 MB, free: 76.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.1493, allocations: 97.09 kB / 419.9 MB, free: 76.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1495, allocations: 204.4 kB / 420.1 MB, free: 76.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.15, allocations: 350.2 kB / 420.5 MB, free: 76.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.15, allocations: 0 / 420.5 MB, free: 76.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0008784/0.1508, allocations: 0.6508 MB / 421.1 MB, free: 76.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1509, allocations: 6.266 kB / 421.1 MB, free: 76.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1509, allocations: 1.062 kB / 421.1 MB, free: 76.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005378/0.1514, allocations: 247.4 kB / 421.4 MB, free: 76.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1517, allocations: 134.8 kB / 421.5 MB, free: 76.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.1558, allocations: 9.023 MB / 430.5 MB, free: 67.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.1561, allocations: 27.78 kB / 430.6 MB, free: 67.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.1561, allocations: 15.78 kB / 430.6 MB, free: 67.83 MB / 330.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.0002899/0.1564, allocations: 205.3 kB / 430.8 MB, free: 67.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.1566, allocations: 130 kB / 430.9 MB, free: 67.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1567, allocations: 117.2 kB / 431 MB, free: 67.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1567, allocations: 10.56 kB / 431 MB, free: 67.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/0.1567, allocations: 5.312 kB / 431 MB, free: 67.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1567, allocations: 8.891 kB / 431 MB, free: 67.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.1588, allocations: 1.651 MB / 432.7 MB, free: 66.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1588, allocations: 4 kB / 432.7 MB, free: 66.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.1591, allocations: 109.7 kB / 432.8 MB, free: 66.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.1595, allocations: 234.5 kB / 433 MB, free: 66.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.1596, allocations: 20.73 kB / 433.1 MB, free: 66.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003171/0.1627, allocations: 8.983 MB / 442 MB, free: 58.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.1628, allocations: 2.109 kB / 442 MB, free: 58.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.1638, allocations: 0.9758 MB / 443 MB, free: 57.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.164, allocations: 189.5 kB / 443.2 MB, free: 57.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-05/0.1641, allocations: 23.19 kB / 443.2 MB, free: 57.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1643, allocations: 33.33 kB / 443.3 MB, free: 57.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.1644, allocations: 83.53 kB / 443.3 MB, free: 57.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1645, allocations: 17.69 kB / 443.4 MB, free: 57.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004143/0.1649, allocations: 424.2 kB / 443.8 MB, free: 57.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1649, allocations: 0 / 443.8 MB, free: 57.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000895/0.1658, allocations: 307.3 kB / 444.1 MB, free: 57.14 MB / 330.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.000146/0.1659, allocations: 123.1 kB / 444.2 MB, free: 57.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.1669, allocations: 1.279 MB / 445.5 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1669, allocations: 0 / 445.5 MB, free: 55.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005862/0.1675, allocations: 1.114 MB / 446.6 MB, free: 54.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.1682, allocations: 277.9 kB / 446.9 MB, free: 54.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.1706, allocations: 2.32 MB / 449.2 MB, free: 51.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1708, allocations: 420.4 kB / 449.6 MB, free: 51.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.171, allocations: 95.62 kB / 449.7 MB, free: 51.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.1714, allocations: 318 kB / 450 MB, free: 51.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1714, allocations: 0 / 450 MB, free: 51.03 MB / 330.7 MB Notification: Performance of Templates: time 0.02177/0.1932, allocations: 21.55 MB / 471.5 MB, free: 29.79 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.4927777918055654]