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.0008672/0.0008672, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.9999/0.9999, allocations: 177.2 MB / 200.3 MB, free: 5.352 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.001708/0.001708, allocations: 163.7 kB / 257 MB, free: 12.8 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.02487/0.02487, allocations: 6.663 MB / 266.9 MB, free: 3.051 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.503e-06/1.503e-06, allocations: 0 / 285.7 MB, free: 300 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.897e-05, allocations: 6.109 kB / 285.7 MB, free: 296 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.1309/0.1309, allocations: 4.47 MB / 290.1 MB, free: 20.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1329, allocations: 1.253 MB / 291.4 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.1331, allocations: 33.81 kB / 291.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1334, allocations: 182.8 kB / 291.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007632/0.1342, allocations: 375 kB / 292 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1345, allocations: 191.1 kB / 292.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1357, allocations: 1.723 MB / 293.9 MB, free: 17.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006089/0.1363, allocations: 0.6181 MB / 294.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.1375, allocations: 1.056 MB / 295.6 MB, free: 16.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1385, allocations: 0.8442 MB / 296.4 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003186/0.1389, allocations: 181.5 kB / 296.6 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1392, allocations: 184.1 kB / 296.8 MB, free: 16.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.1395, allocations: 0.5254 MB / 297.3 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005121/0.1401, allocations: 0.571 MB / 297.9 MB, free: 16.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000892/0.1409, allocations: 1.39 MB / 299.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1409, allocations: 1.438 kB / 299.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1409, allocations: 0 / 299.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.141, allocations: 2.656 kB / 299.3 MB, free: 15.3 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.001465/0.1424, allocations: 1.628 MB / 300.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1425, allocations: 13.09 kB / 300.9 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.1428, allocations: 220.8 kB / 301.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.1434, allocations: 0.5967 MB / 301.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.655e-05/0.1435, allocations: 84.42 kB / 301.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.1436, allocations: 114.3 kB / 301.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.1445, allocations: 0.9816 MB / 302.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1446, allocations: 4.906 kB / 302.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.1446, allocations: 46.16 kB / 302.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.1447, allocations: 44.39 kB / 303 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.1451, allocations: 295.5 kB / 303.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.1476, allocations: 2.789 MB / 306.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.1481, allocations: 0.6543 MB / 306.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.1483, allocations: 299.3 kB / 307 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1484, allocations: 20.94 kB / 307 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.1484, allocations: 43.56 kB / 307.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=92): time 2.164e-06/0.1484, allocations: 3.484 kB / 307.1 MB, free: 8.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=93): time 0.001918/0.1503, allocations: 1.466 MB / 308.5 MB, free: 7.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.69e-05/0.1503, allocations: 60.41 kB / 308.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1506, allocations: 0.539 MB / 309.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1506, allocations: 41.7 kB / 309.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.1507, allocations: 434.7 kB / 309.6 MB, free: 6.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1508, allocations: 321.2 kB / 309.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1509, allocations: 138.5 kB / 310 MB, free: 5.801 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.151, allocations: 398.6 kB / 310.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1511, allocations: 85.95 kB / 310.5 MB, free: 5.316 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.1513, allocations: 164.7 kB / 310.7 MB, free: 5.148 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1516, allocations: 325.9 kB / 311 MB, free: 4.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1516, allocations: 0 / 311 MB, free: 4.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0005473/0.1521, allocations: 0.5063 MB / 311.5 MB, free: 4.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1521, allocations: 8.094 kB / 311.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1521, allocations: 0 / 311.5 MB, free: 4.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.1525, allocations: 205 kB / 311.7 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.1528, allocations: 143.8 kB / 311.9 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.1559, allocations: 6.487 MB / 318.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.156, allocations: 23.94 kB / 318.4 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.1561, allocations: 23.98 kB / 318.4 MB, free: 13.05 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.0001867/0.1563, allocations: 164.5 kB / 318.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1564, allocations: 91.91 kB / 318.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.99e-05/0.1565, allocations: 117.1 kB / 318.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1565, allocations: 8 kB / 318.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1565, allocations: 7.938 kB / 318.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1565, allocations: 3.984 kB / 318.8 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/0.158, allocations: 1.365 MB / 320.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.158, allocations: 0 / 320.1 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.1583, allocations: 127.9 kB / 320.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.1587, allocations: 215.7 kB / 320.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.1587, allocations: 23.98 kB / 320.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004431/0.1631, allocations: 6.547 MB / 327 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1631, allocations: 0 / 327 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.1642, allocations: 0.809 MB / 327.8 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.1645, allocations: 127.3 kB / 328 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.1646, allocations: 20 kB / 328 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.1648, allocations: 47.94 kB / 328 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.165, allocations: 72.86 kB / 328.1 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.165, allocations: 23.98 kB / 328.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003015/0.1653, allocations: 268.6 kB / 328.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1653, allocations: 3.938 kB / 328.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009317/0.1662, allocations: 304 kB / 328.7 MB, free: 2.27 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.0001476/0.1664, allocations: 116.3 kB / 328.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.1674, allocations: 1.001 MB / 329.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.1674, allocations: 8 kB / 329.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007857/0.1682, allocations: 0.8578 MB / 330.7 MB, free: 180 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/0.1688, allocations: 273.5 kB / 330.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.1718, allocations: 2.25 MB / 333.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1721, allocations: 348.5 kB / 333.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.1723, allocations: 91.62 kB / 333.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000719/0.1731, allocations: 281.1 kB / 333.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1731, allocations: 4 kB / 333.9 MB, free: 12.89 MB / 298.7 MB Notification: Performance of Templates: time 0.02597/0.199, allocations: 21.11 MB / 355 MB, free: 8.137 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Rectifier.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0124698248691857]