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.0008013/0.0008013, allocations: 72.5 kB / 19.93 MB, free: 4.633 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 0.8698/0.8698, allocations: 177.2 MB / 200.2 MB, free: 5.949 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.001029/0.001029, allocations: 156.6 kB / 256.7 MB, free: 13.35 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.02252/0.02252, allocations: 6.657 MB / 319.8 MB, free: 26.79 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.443e-06/1.443e-06, allocations: 3.938 kB / 446.6 MB, free: 37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.685e-05, allocations: 2.281 kB / 446.7 MB, free: 37 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.002918/0.002935, allocations: 4.123 MB / 450.8 MB, free: 32.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004215, allocations: 1.188 MB / 452 MB, free: 31.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.00442, allocations: 27.81 kB / 452 MB, free: 31.64 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.004658, allocations: 178.6 kB / 452.2 MB, free: 31.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.005264, allocations: 393.5 kB / 452.5 MB, free: 31.07 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.005471, allocations: 187.6 kB / 452.7 MB, free: 30.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000771/0.006242, allocations: 1.708 MB / 454.4 MB, free: 29.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.006687, allocations: 0.5997 MB / 455 MB, free: 28.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006116/0.007299, allocations: 1.045 MB / 456.1 MB, free: 27.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.007855, allocations: 0.7989 MB / 456.9 MB, free: 26.69 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.007979, allocations: 184 kB / 457.1 MB, free: 26.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.008144, allocations: 184 kB / 457.2 MB, free: 26.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.008339, allocations: 0.5103 MB / 457.8 MB, free: 25.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.008641, allocations: 0.5691 MB / 458.3 MB, free: 25.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009895/0.00963, allocations: 2.408 MB / 460.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.009632, allocations: 0 / 460.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009633, allocations: 0 / 460.7 MB, free: 22.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.009649, allocations: 0 / 460.7 MB, free: 22.83 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.001585/0.01123, allocations: 1.755 MB / 462.5 MB, free: 21.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.01126, allocations: 12.03 kB / 462.5 MB, free: 21.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.01153, allocations: 187.9 kB / 462.7 MB, free: 20.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.01233, allocations: 0.9587 MB / 463.6 MB, free: 19.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.01236, allocations: 82.61 kB / 463.7 MB, free: 19.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.01246, allocations: 112.4 kB / 463.8 MB, free: 19.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.01383, allocations: 1.786 MB / 465.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.01385, allocations: 3.938 kB / 465.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.01392, allocations: 48 kB / 465.7 MB, free: 17.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.01395, allocations: 50.22 kB / 465.7 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.01528, allocations: 1.547 MB / 467.3 MB, free: 16.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003343/0.01863, allocations: 4.377 MB / 471.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.01966, allocations: 1.319 MB / 473 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.02028, allocations: 0.7977 MB / 473.8 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.02031, allocations: 9 kB / 473.8 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.02033, allocations: 39.56 kB / 473.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.144e-06/0.02033, allocations: 8 kB / 473.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.003797/0.02413, allocations: 3.771 MB / 477.6 MB, free: 5.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.02415, allocations: 64.41 kB / 477.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.02468, allocations: 0.8401 MB / 478.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.02471, allocations: 41.7 kB / 478.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.02487, allocations: 0.5126 MB / 479 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.02496, allocations: 325.2 kB / 479.4 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.02509, allocations: 146.6 kB / 479.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.02516, allocations: 398.7 kB / 479.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.02559, allocations: 0.4899 MB / 480.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.02603, allocations: 0.5645 MB / 480.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008627/0.02689, allocations: 1.069 MB / 482 MB, free: 1.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0269, allocations: 0 / 482 MB, free: 1.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001371/0.02827, allocations: 1.558 MB / 483.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.02828, allocations: 6.812 kB / 483.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02829, allocations: 0 / 483.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006485/0.02894, allocations: 498.9 kB / 484.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.02923, allocations: 139.8 kB / 484.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.03473, allocations: 9.015 MB / 493.2 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.03496, allocations: 43.98 kB / 493.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.035, allocations: 24 kB / 493.3 MB, free: 5.488 MB / 346.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.0004451/0.03544, allocations: 0.5037 MB / 493.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.03553, allocations: 95.38 kB / 493.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.03564, allocations: 129.1 kB / 494 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.03564, allocations: 12 kB / 494 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.03565, allocations: 0 / 494 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.03565, allocations: 3.984 kB / 494 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.03849, allocations: 2.832 MB / 496.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.03849, allocations: 0 / 496.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.03875, allocations: 115.9 kB / 497 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/0.03931, allocations: 0.4916 MB / 497.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.03936, allocations: 23.92 kB / 497.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005306/0.04467, allocations: 8.941 MB / 0.4946 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.04467, allocations: 0 / 0.4946 GB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.04683, allocations: 2.324 MB / 0.4968 GB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.04712, allocations: 219.3 kB / 0.497 GB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.04719, allocations: 27.92 kB / 0.4971 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.04744, allocations: 59.94 kB / 0.4971 GB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.04759, allocations: 88.83 kB / 0.4972 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.04762, allocations: 32.06 kB / 0.4972 GB, free: 5.082 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005038/0.04812, allocations: 0.6005 MB / 0.4978 GB, free: 4.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04812, allocations: 0 / 0.4978 GB, free: 4.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007942/0.04892, allocations: 308 kB / 0.4981 GB, free: 4.184 MB / 362.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.0001365/0.04906, allocations: 123.6 kB / 0.4982 GB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.05071, allocations: 1.756 MB / 0.4999 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.05072, allocations: 0 / 0.4999 GB, free: 2.242 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009798/0.05169, allocations: 1.223 MB / 0.5011 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.05234, allocations: 270.6 kB / 0.5014 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.05525, allocations: 2.761 MB / 0.5041 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/0.05587, allocations: 0.8068 MB / 0.5049 GB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.056, allocations: 56.5 kB / 0.5049 GB, free: 13.01 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.056, allocations: 0 / 0.5049 GB, free: 13.01 MB / 378.7 MB Notification: Performance of Templates: time 0.02972/0.08572, allocations: 41.76 MB / 0.5457 GB, free: 3.281 MB / 410.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.270174270495772] Failed to read output from testmodel.py, exit status != 0: 0.09097222331911325 0.099328706 0.08802053700000001 Calling exit ...