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.001374/0.001374, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.025/1.025, allocations: 177.2 MB / 200.3 MB, free: 5.68 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.001341/0.001341, allocations: 160.6 kB / 257 MB, free: 12.97 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.02511/0.02511, allocations: 6.661 MB / 266.9 MB, free: 3.219 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.233e-06/1.233e-06, allocations: 0 / 285.6 MB, free: 0.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.63e-05, allocations: 5.688 kB / 285.6 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.1037/0.1038, allocations: 4.417 MB / 290.1 MB, free: 20.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.1063, allocations: 1.253 MB / 291.3 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.107, allocations: 34.47 kB / 291.3 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.1074, allocations: 175.6 kB / 291.5 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.1086, allocations: 383.7 kB / 291.9 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1091, allocations: 188.2 kB / 292.1 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.1109, allocations: 1.715 MB / 293.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007694/0.1117, allocations: 0.6157 MB / 294.4 MB, free: 17.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.1132, allocations: 1.059 MB / 295.5 MB, free: 17.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00135/0.1146, allocations: 0.8458 MB / 296.3 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004695/0.1151, allocations: 181 kB / 296.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005005/0.1156, allocations: 188.1 kB / 296.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.116, allocations: 0.5255 MB / 297.2 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.1171, allocations: 0.5678 MB / 297.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.1187, allocations: 1.397 MB / 299.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1187, allocations: 1 kB / 299.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1187, allocations: 0 / 299.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.422e-05/0.1188, allocations: 0 / 299.2 MB, free: 15.49 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.002493/0.1213, allocations: 1.634 MB / 300.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1213, allocations: 10.12 kB / 300.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.1218, allocations: 212.5 kB / 301 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.1228, allocations: 0.6077 MB / 301.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.1229, allocations: 79.98 kB / 301.7 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.123, allocations: 115.7 kB / 301.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.1244, allocations: 0.9817 MB / 302.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.1244, allocations: 8.594 kB / 302.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.1245, allocations: 43.16 kB / 302.8 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.606e-05/0.1246, allocations: 51.48 kB / 302.9 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.1252, allocations: 294.6 kB / 303.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.1287, allocations: 2.779 MB / 306 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000619/0.1293, allocations: 0.662 MB / 306.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1296, allocations: 301.8 kB / 306.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/0.1296, allocations: 17 kB / 306.9 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1297, allocations: 39.56 kB / 307 MB, free: 9.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 4.368e-06/0.1297, allocations: 3 kB / 307 MB, free: 9.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=93): time 0.002491/0.1322, allocations: 1.463 MB / 308.4 MB, free: 7.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.1322, allocations: 60.41 kB / 308.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.1326, allocations: 0.5468 MB / 309 MB, free: 6.938 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.1326, allocations: 41.7 kB / 309.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1327, allocations: 430.7 kB / 309.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.1328, allocations: 321.2 kB / 309.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.133, allocations: 142.5 kB / 310 MB, free: 6.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.133, allocations: 394.6 kB / 310.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1332, allocations: 89.95 kB / 310.4 MB, free: 5.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1333, allocations: 158.3 kB / 310.6 MB, free: 5.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1336, allocations: 321.9 kB / 310.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1336, allocations: 0 / 310.9 MB, free: 5.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0006019/0.1342, allocations: 0.5101 MB / 311.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1342, allocations: 4 kB / 311.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1342, allocations: 0 / 311.4 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004314/0.1346, allocations: 218.8 kB / 311.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1349, allocations: 119.9 kB / 311.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00358/0.1385, allocations: 6.477 MB / 318.2 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1389, allocations: 20 kB / 318.2 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.1389, allocations: 21.25 kB / 318.3 MB, free: 13.29 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.0003488/0.1393, allocations: 168.6 kB / 318.4 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.1394, allocations: 95.91 kB / 318.5 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1395, allocations: 113.1 kB / 318.6 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1395, allocations: 12 kB / 318.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1395, allocations: 4.031 kB / 318.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1396, allocations: 3.984 kB / 318.6 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.1415, allocations: 1.36 MB / 320 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1415, allocations: 7.938 kB / 320 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.1418, allocations: 111.8 kB / 320.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/0.1422, allocations: 219.9 kB / 320.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.1422, allocations: 19.98 kB / 320.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004041/0.1463, allocations: 6.535 MB / 326.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1463, allocations: 7.984 kB / 326.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.1474, allocations: 0.8051 MB / 327.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.1476, allocations: 127.3 kB / 327.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.1477, allocations: 16 kB / 327.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1479, allocations: 35.98 kB / 327.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.1481, allocations: 88.78 kB / 328 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.1481, allocations: 16 kB / 328 MB, free: 3.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1484, allocations: 276.5 kB / 328.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1484, allocations: 0 / 328.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000847/0.1492, allocations: 308 kB / 328.6 MB, free: 2.52 MB / 282.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.0001468/0.1494, allocations: 108.2 kB / 328.7 MB, free: 2.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009672/0.1503, allocations: 1.005 MB / 329.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.557e-06/0.1504, allocations: 8 kB / 329.7 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006538/0.151, allocations: 0.8694 MB / 330.5 MB, free: 428 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.1517, allocations: 273.4 kB / 330.8 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.1548, allocations: 2.238 MB / 333 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1551, allocations: 356.5 kB / 333.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.1554, allocations: 95.62 kB / 333.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.1558, allocations: 285.1 kB / 333.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1558, allocations: 0 / 333.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of Templates: time 0.0251/0.1809, allocations: 21.02 MB / 354.8 MB, free: 8.484 MB / 314.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.261856267694384]