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.00154/0.00154, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.634/1.634, allocations: 177.1 MB / 199.7 MB, free: 5.812 MB / 186.7 MB " [Timeout remaining time 178] 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.001807/0.001807, allocations: 160.6 kB / 256.3 MB, free: 13.17 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.03841/0.03841, allocations: 6.653 MB / 319.4 MB, free: 26.58 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 2.455e-06/2.455e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.498e-05/4.743e-05, allocations: 6.25 kB / 390.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.01054/0.01059, allocations: 4.13 MB / 395 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.01517, allocations: 1.199 MB / 396.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.01632, allocations: 35.75 kB / 396.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.01734, allocations: 174.7 kB / 396.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.01999, allocations: 381.5 kB / 396.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.02114, allocations: 187.6 kB / 397 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.02546, allocations: 1.711 MB / 398.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.02751, allocations: 0.5919 MB / 399.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003511/0.03102, allocations: 1.056 MB / 400.4 MB, free: 9.449 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002818/0.03384, allocations: 0.7911 MB / 401.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009722/0.03481, allocations: 184 kB / 401.3 MB, free: 8.477 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.03607, allocations: 184 kB / 401.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.03742, allocations: 0.5181 MB / 402 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002252/0.03967, allocations: 0.5691 MB / 402.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005813/0.04548, allocations: 2.396 MB / 405 MB, free: 4.805 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.0455, allocations: 4 kB / 405 MB, free: 4.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.0455, allocations: 0 / 405 MB, free: 4.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001147/0.04561, allocations: 4 kB / 405 MB, free: 4.797 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.007572/0.05318, allocations: 1.758 MB / 406.8 MB, free: 3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.05325, allocations: 12.03 kB / 406.8 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.05479, allocations: 279.9 kB / 407 MB, free: 2.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002819/0.0576, allocations: 0.9745 MB / 408 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.05774, allocations: 82.61 kB / 408.1 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005422/0.05828, allocations: 116.4 kB / 408.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2126/0.2709, allocations: 1.798 MB / 410 MB, free: 82.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.2709, allocations: 0 / 410 MB, free: 82.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.2711, allocations: 47.66 kB / 410.1 MB, free: 82.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.94e-05/0.2712, allocations: 46.16 kB / 410.1 MB, free: 82.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.275, allocations: 1.548 MB / 411.6 MB, free: 82.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.2856, allocations: 4.433 MB / 416.1 MB, free: 79.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.2885, allocations: 1.311 MB / 417.4 MB, free: 79.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.2902, allocations: 0.7994 MB / 418.2 MB, free: 79.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.377e-05/0.2903, allocations: 15.84 kB / 418.2 MB, free: 79.11 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.2903, allocations: 46.05 kB / 418.2 MB, free: 79.06 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.547e-06/0.2903, allocations: 1.75 kB / 418.2 MB, free: 79.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.009872/0.3002, allocations: 3.812 MB / 422.1 MB, free: 77.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3002, allocations: 62.03 kB / 422.1 MB, free: 77.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.3019, allocations: 0.8381 MB / 423 MB, free: 76.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/0.3022, allocations: 40.58 kB / 423 MB, free: 76.83 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.3026, allocations: 0.5127 MB / 423.5 MB, free: 76.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/0.3031, allocations: 326.8 kB / 423.8 MB, free: 76.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/0.3035, allocations: 150.9 kB / 424 MB, free: 76.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3037, allocations: 401.9 kB / 424.4 MB, free: 75.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009702/0.3047, allocations: 0.4884 MB / 424.9 MB, free: 75.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009261/0.3056, allocations: 0.5682 MB / 425.4 MB, free: 75.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.3072, allocations: 1.067 MB / 426.5 MB, free: 74.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3072, allocations: 0.875 kB / 426.5 MB, free: 74.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002665/0.3099, allocations: 1.59 MB / 428.1 MB, free: 73.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.3099, allocations: 8 kB / 428.1 MB, free: 73.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.31, allocations: 0 / 428.1 MB, free: 73.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.3111, allocations: 493.6 kB / 428.6 MB, free: 72.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.3118, allocations: 134 kB / 428.7 MB, free: 72.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008216/0.32, allocations: 9.049 MB / 437.8 MB, free: 62.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.3209, allocations: 47.94 kB / 437.8 MB, free: 62.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.321, allocations: 24 kB / 437.8 MB, free: 62.92 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.001029/0.3221, allocations: 0.5054 MB / 438.3 MB, free: 62.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.3224, allocations: 131.5 kB / 438.5 MB, free: 62.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.3228, allocations: 125.1 kB / 438.6 MB, free: 62.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3228, allocations: 8 kB / 438.6 MB, free: 62.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.3228, allocations: 7.984 kB / 438.6 MB, free: 62.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3228, allocations: 7.047 kB / 438.6 MB, free: 62.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005554/0.3283, allocations: 2.83 MB / 441.4 MB, free: 59.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.3284, allocations: 3.875 kB / 441.4 MB, free: 59.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.3289, allocations: 119.8 kB / 441.6 MB, free: 59.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.3299, allocations: 490 kB / 442 MB, free: 58.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.33, allocations: 23.98 kB / 442.1 MB, free: 58.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007419/0.3374, allocations: 8.977 MB / 451 MB, free: 49.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3375, allocations: 0 / 451 MB, free: 49.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.341, allocations: 2.366 MB / 453.4 MB, free: 46.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.3417, allocations: 223.3 kB / 453.6 MB, free: 46.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.342, allocations: 27.98 kB / 453.6 MB, free: 46.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.3426, allocations: 59.94 kB / 453.7 MB, free: 46.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.3429, allocations: 88.83 kB / 453.8 MB, free: 46.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.81e-05/0.343, allocations: 24 kB / 453.8 MB, free: 46.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000909/0.3439, allocations: 0.6005 MB / 454.4 MB, free: 45.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3439, allocations: 0 / 454.4 MB, free: 45.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001676/0.3455, allocations: 308 kB / 454.7 MB, free: 45.56 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.0002527/0.3458, allocations: 123.1 kB / 454.8 MB, free: 45.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.3485, allocations: 1.759 MB / 456.6 MB, free: 43.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3485, allocations: 0 / 456.6 MB, free: 43.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.3501, allocations: 1.234 MB / 457.8 MB, free: 42.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.3517, allocations: 269.9 kB / 458.1 MB, free: 42.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.3567, allocations: 2.801 MB / 460.9 MB, free: 39.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009665/0.3577, allocations: 0.8302 MB / 461.7 MB, free: 38.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005719/0.3582, allocations: 183.5 kB / 461.9 MB, free: 38.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3585, allocations: 60.5 kB / 462 MB, free: 38.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.024e-06/0.3585, allocations: 0 / 462 MB, free: 38.18 MB / 330.7 MB Notification: Performance of Templates: time 0.03056/0.389, allocations: 19.89 MB / 481.8 MB, free: 18.6 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.228664070018567]