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.0009233/0.0009233, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.00217, allocations: 440 kB / 10.41 MB, free: 284 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 0.95/0.95, allocations: 177.2 MB / 188.4 MB, free: 4.418 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2146/1.165, allocations: 53.65 MB / 242 MB, free: 2.625 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.001202/0.001202, allocations: 147.1 kB / 242.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001639/0.002841, allocations: 487 kB / 243.4 MB, free: 1.289 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.02505/0.02505, allocations: 6.646 MB / 250.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004031/0.02908, allocations: 2.675 MB / 253.5 MB, free: 7.422 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 1.633e-06/1.633e-06, allocations: 0 / 254.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.702e-05, allocations: 6.25 kB / 254.8 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.004225/0.004242, allocations: 4.505 MB / 259.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.0058, allocations: 1.265 MB / 260.5 MB, free: 336 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.006016, allocations: 31.81 kB / 260.6 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002489/0.006265, allocations: 182.6 kB / 260.7 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000748/0.007013, allocations: 385.4 kB / 261.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.007233, allocations: 179.7 kB / 261.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.008259, allocations: 1.719 MB / 263 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005357/0.008795, allocations: 0.6309 MB / 263.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.009984, allocations: 1.141 MB / 264.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/0.01068, allocations: 0.8496 MB / 265.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.01083, allocations: 180 kB / 265.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.01106, allocations: 184 kB / 266 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.01134, allocations: 439 kB / 266.4 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.0117, allocations: 483.1 kB / 266.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.01268, allocations: 1.293 MB / 268.2 MB, free: 8.609 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.127e-05/0.01269, allocations: 4 kB / 268.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01269, allocations: 0 / 268.2 MB, free: 8.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.01271, allocations: 0 / 268.2 MB, free: 8.605 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.001779/0.01449, allocations: 1.917 MB / 270.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.01453, allocations: 8.031 kB / 270.1 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004335/0.01496, allocations: 297.8 kB / 270.4 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.01566, allocations: 0.6026 MB / 271 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.632e-05/0.01571, allocations: 86.59 kB / 271.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.01582, allocations: 112.4 kB / 271.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.0171, allocations: 0.9814 MB / 272.2 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.01712, allocations: 3.938 kB / 272.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.01719, allocations: 44 kB / 272.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/0.01724, allocations: 50.22 kB / 272.3 MB, free: 4.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.01771, allocations: 287.4 kB / 272.5 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.02134, allocations: 2.807 MB / 275.4 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007876/0.02213, allocations: 0.6534 MB / 276 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.02252, allocations: 301.8 kB / 276.3 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.02256, allocations: 17 kB / 276.3 MB, free: 208 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.0226, allocations: 43.56 kB / 276.4 MB, free: 156 kB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.524e-06/0.0226, allocations: 0 / 276.4 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=93): time 0.002969/0.02557, allocations: 1.491 MB / 277.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.0256, allocations: 60.41 kB / 277.9 MB, free: 14.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.02609, allocations: 0.5429 MB / 278.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.02614, allocations: 41.7 kB / 278.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000497/0.02663, allocations: 430.8 kB / 278.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.02683, allocations: 325.1 kB / 279.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.02704, allocations: 146.5 kB / 279.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.02718, allocations: 402.6 kB / 279.8 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.02735, allocations: 85.97 kB / 279.9 MB, free: 12.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.02756, allocations: 162.2 kB / 280 MB, free: 12.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.028, allocations: 322 kB / 280.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02801, allocations: 0 / 280.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007991/0.02881, allocations: 0.5063 MB / 280.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.02883, allocations: 8 kB / 280.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02883, allocations: 0 / 280.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.02939, allocations: 207.2 kB / 281 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.02985, allocations: 151.8 kB / 281.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/0.03454, allocations: 6.481 MB / 287.7 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.03478, allocations: 31.92 kB / 287.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.03483, allocations: 16 kB / 287.7 MB, free: 4.277 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.0002212/0.03505, allocations: 164.6 kB / 287.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.03519, allocations: 95.89 kB / 288 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.03533, allocations: 121.1 kB / 288.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.03534, allocations: 8 kB / 288.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.03534, allocations: 0 / 288.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.03535, allocations: 3.984 kB / 288.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.03736, allocations: 1.37 MB / 289.5 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.03737, allocations: 3.938 kB / 289.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.03776, allocations: 131.9 kB / 289.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.03798, allocations: 123.3 kB / 289.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/0.03845, allocations: 212.9 kB / 289.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.03849, allocations: 27.94 kB / 290 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004479/0.04297, allocations: 6.549 MB / 296.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.04297, allocations: 0 / 296.5 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.0441, allocations: 0.8168 MB / 297.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.04419, allocations: 24.03 kB / 297.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.04449, allocations: 35.92 kB / 297.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.04465, allocations: 84.84 kB / 297.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.04469, allocations: 16.12 kB / 297.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.04497, allocations: 272.5 kB / 297.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04497, allocations: 0 / 297.7 MB, free: 9.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008822/0.04585, allocations: 312 kB / 298.1 MB, free: 9.449 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.0001367/0.04599, allocations: 108.3 kB / 298.2 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.04706, allocations: 1.017 MB / 299.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-05/0.04708, allocations: 16.64 kB / 299.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008215/0.04791, allocations: 0.8951 MB / 300.1 MB, free: 7.305 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.0497, allocations: 2.912 MB / 303 MB, free: 3.793 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009552/0.05925, allocations: 2.497 MB / 305.5 MB, free: 1.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.05958, allocations: 368.5 kB / 305.9 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002605/0.05984, allocations: 95.8 kB / 306 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.06038, allocations: 277.1 kB / 306.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.06038, allocations: 0 / 306.2 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of Templates: time 0.02611/0.08649, allocations: 22.47 MB / 328.7 MB, free: 10.36 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.1395379472523928]