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.002304/0.002304, allocations: 85.48 kB / 19.44 MB, free: 340 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.564/1.564, allocations: 177.1 MB / 199.7 MB, free: 5.789 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.002102/0.002102, allocations: 160.6 kB / 256.3 MB, free: 13.14 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.04116/0.04116, allocations: 6.658 MB / 319.4 MB, free: 26.55 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.533e-06/1.533e-06, allocations: 0 / 390.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.972e-05, allocations: 2.312 kB / 390.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006799/0.006829, allocations: 4.438 MB / 395.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002949/0.009779, allocations: 1.207 MB / 396.6 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.01012, allocations: 27.81 kB / 396.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.01056, allocations: 186.5 kB / 396.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01178, allocations: 389.4 kB / 397.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.0122, allocations: 183.7 kB / 397.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002108/0.01431, allocations: 1.715 MB / 399 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009437/0.01525, allocations: 0.5958 MB / 399.6 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.0168, allocations: 1.057 MB / 400.7 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.01824, allocations: 0.8496 MB / 401.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003184/0.01856, allocations: 180 kB / 401.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.01896, allocations: 188 kB / 401.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.01956, allocations: 0.5298 MB / 402.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.02039, allocations: 0.5691 MB / 403 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.02346, allocations: 2.419 MB / 405.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.02346, allocations: 0 / 405.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.02346, allocations: 0 / 405.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.0235, allocations: 4 kB / 405.4 MB, free: 4.34 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.003997/0.0275, allocations: 2.015 MB / 407.4 MB, free: 2.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.02754, allocations: 12.03 kB / 407.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006975/0.02824, allocations: 271.9 kB / 407.7 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.03014, allocations: 0.8796 MB / 408.6 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.03023, allocations: 94.58 kB / 408.7 MB, free: 1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.03044, allocations: 112.4 kB / 408.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1305/0.161, allocations: 1.767 MB / 410.6 MB, free: 82.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.161, allocations: 2.531 kB / 410.6 MB, free: 82.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.1611, allocations: 47.41 kB / 410.6 MB, free: 82.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.457e-05/0.1612, allocations: 50.36 kB / 410.7 MB, free: 82.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.1635, allocations: 1.369 MB / 412 MB, free: 81.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007743/0.1713, allocations: 5.327 MB / 417.4 MB, free: 78.88 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.173, allocations: 1.164 MB / 418.5 MB, free: 78.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009932/0.1739, allocations: 0.6923 MB / 419.2 MB, free: 78.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.174, allocations: 17.31 kB / 419.2 MB, free: 78.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.174, allocations: 47.8 kB / 419.3 MB, free: 78.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 3.787e-06/0.174, allocations: 0 / 419.3 MB, free: 78.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.006616/0.1806, allocations: 3.389 MB / 422.7 MB, free: 76.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.1807, allocations: 62.41 kB / 422.7 MB, free: 76.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1818, allocations: 0.9712 MB / 423.7 MB, free: 76.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.1819, allocations: 42.92 kB / 423.8 MB, free: 75.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.1822, allocations: 0.614 MB / 424.4 MB, free: 75.51 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.1824, allocations: 355 kB / 424.7 MB, free: 75.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.1827, allocations: 184 kB / 424.9 MB, free: 75.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.1829, allocations: 0.66 MB / 425.6 MB, free: 74.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.1834, allocations: 406 kB / 425.9 MB, free: 74.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.184, allocations: 0.5215 MB / 426.5 MB, free: 74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.1852, allocations: 0.9459 MB / 427.4 MB, free: 73.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1852, allocations: 0 / 427.4 MB, free: 73.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001866/0.187, allocations: 1.404 MB / 428.8 MB, free: 72.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1871, allocations: 8 kB / 428.8 MB, free: 72.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.1871, allocations: 0 / 428.8 MB, free: 72.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/0.188, allocations: 488.3 kB / 429.3 MB, free: 71.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.1885, allocations: 131.8 kB / 429.4 MB, free: 71.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006702/0.1952, allocations: 11.18 MB / 440.6 MB, free: 59.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.1958, allocations: 44.77 kB / 440.7 MB, free: 59.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.1958, allocations: 24 kB / 440.7 MB, free: 59.73 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.0005629/0.1964, allocations: 484.7 kB / 441.2 MB, free: 59.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.1966, allocations: 119.4 kB / 441.3 MB, free: 59.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.1968, allocations: 121.1 kB / 441.4 MB, free: 59.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1968, allocations: 9.625 kB / 441.4 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.1968, allocations: 4 kB / 441.4 MB, free: 59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1968, allocations: 3.984 kB / 441.4 MB, free: 58.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.2011, allocations: 2.907 MB / 444.3 MB, free: 56.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2011, allocations: 0 / 444.3 MB, free: 56.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.2015, allocations: 111.9 kB / 444.4 MB, free: 55.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00083/0.2024, allocations: 459 kB / 444.9 MB, free: 55.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/0.2024, allocations: 20 kB / 444.9 MB, free: 55.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.2086, allocations: 10.84 MB / 455.7 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2086, allocations: 0 / 455.7 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.2112, allocations: 1.963 MB / 457.7 MB, free: 42.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.2117, allocations: 202 kB / 457.9 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.2118, allocations: 18.62 kB / 457.9 MB, free: 41.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.2123, allocations: 55.94 kB / 458 MB, free: 41.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/0.2125, allocations: 108.8 kB / 458.1 MB, free: 41.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.2126, allocations: 24 kB / 458.1 MB, free: 41.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007157/0.2133, allocations: 0.6122 MB / 458.7 MB, free: 41.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2133, allocations: 0 / 458.7 MB, free: 41.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001233/0.2145, allocations: 308 kB / 459 MB, free: 40.85 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.0001708/0.2147, allocations: 123.2 kB / 459.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.2168, allocations: 1.84 MB / 461 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2168, allocations: 0 / 461 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.2181, allocations: 1.381 MB / 462.3 MB, free: 37.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.2191, allocations: 280 kB / 462.6 MB, free: 37.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.2226, allocations: 2.563 MB / 465.2 MB, free: 34.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.2231, allocations: 0.7753 MB / 466 MB, free: 33.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003196/0.2234, allocations: 135.5 kB / 466.1 MB, free: 33.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.2236, allocations: 64.48 kB / 466.2 MB, free: 33.5 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2236, allocations: 0 / 466.2 MB, free: 33.5 MB / 330.7 MB Notification: Performance of Templates: time 0.02429/0.2479, allocations: 19.96 MB / 486.1 MB, free: 13.85 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: 5.505905151949264]