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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 246.2 MB, free: 13.59 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 194.9 kB / 301.4 MB, free: 9.121 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05222/0.05222, allocations: 8.923 MB / 365.5 MB, free: 9.262 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002322/0.002322, allocations: 83.2 kB / 489.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1115, allocations: 54.41 MB / 0.531 GB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006905/0.1184, allocations: 4.549 MB / 0.5355 GB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.1213, allocations: 1.157 MB / 0.5366 GB, free: 8.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1217, allocations: 27.88 kB / 0.5366 GB, free: 8.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1221, allocations: 178.7 kB / 0.5368 GB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1231, allocations: 366 kB / 0.5371 GB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1235, allocations: 171.7 kB / 0.5373 GB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.1253, allocations: 1.65 MB / 0.5389 GB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009005/0.1262, allocations: 0.6187 MB / 0.5395 GB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009984/0.1272, allocations: 0.7048 MB / 0.5402 GB, free: 5.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.1284, allocations: 0.8679 MB / 0.5411 GB, free: 4.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.1287, allocations: 180 kB / 0.5412 GB, free: 4.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.1289, allocations: 188 kB / 0.5414 GB, free: 3.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004574/0.1294, allocations: 0.4947 MB / 0.5419 GB, free: 3.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008762/0.1303, allocations: 0.8129 MB / 0.5427 GB, free: 2.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.1326, allocations: 2.348 MB / 0.545 GB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1326, allocations: 0 / 0.545 GB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1326, allocations: 0 / 0.545 GB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.1326, allocations: 0 / 0.545 GB, free: 312 kB / 350.1 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.003493/0.1361, allocations: 1.842 MB / 0.5468 GB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1361, allocations: 12.03 kB / 0.5468 GB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.1364, allocations: 160 kB / 0.5469 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.138, allocations: 0.9823 MB / 0.5479 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.138, allocations: 82.61 kB / 0.548 GB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001857/0.1382, allocations: 116.1 kB / 0.5481 GB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.141, allocations: 1.685 MB / 0.5497 GB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.141, allocations: 7.938 kB / 0.5497 GB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.1412, allocations: 44 kB / 0.5498 GB, free: 11.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-05/0.1413, allocations: 54.16 kB / 0.5498 GB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002652/0.1439, allocations: 1.547 MB / 0.5513 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008043/0.1519, allocations: 4.96 MB / 0.5562 GB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.1547, allocations: 2.514 MB / 0.5586 GB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.1561, allocations: 0.798 MB / 0.5594 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.1561, allocations: 16.98 kB / 0.5594 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.1562, allocations: 43.56 kB / 0.5595 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.016e-06/0.1562, allocations: 0 / 0.5595 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.008494/0.1647, allocations: 4.08 MB / 0.5635 GB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.1647, allocations: 60.41 kB / 0.5635 GB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.1661, allocations: 0.8755 MB / 0.5644 GB, free: 11.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/0.1662, allocations: 41.7 kB / 0.5644 GB, free: 11.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.1666, allocations: 0.5126 MB / 0.5649 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/0.1669, allocations: 325.2 kB / 0.5652 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.1672, allocations: 150.7 kB / 0.5654 GB, free: 10.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1674, allocations: 341.9 kB / 0.5657 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008141/0.1682, allocations: 497.6 kB / 0.5662 GB, free: 9.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.1691, allocations: 0.5722 MB / 0.5667 GB, free: 9.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.1708, allocations: 1.061 MB / 0.5678 GB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1708, allocations: 0 / 0.5678 GB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002896/0.1737, allocations: 1.562 MB / 0.5693 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1737, allocations: 8 kB / 0.5693 GB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1738, allocations: 4 kB / 0.5693 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.175, allocations: 487 kB / 0.5698 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.1755, allocations: 139.8 kB / 0.5699 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.1881, allocations: 9.613 MB / 0.5793 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008771/0.189, allocations: 47.94 kB / 0.5793 GB, free: 11.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/0.1891, allocations: 24 kB / 0.5794 GB, free: 11.73 MB / 398.1 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.001206/0.1903, allocations: 0.5013 MB / 0.5798 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.1905, allocations: 99.39 kB / 0.5799 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.1908, allocations: 133.3 kB / 0.5801 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.1908, allocations: 12 kB / 0.5801 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.1908, allocations: 0 / 0.5801 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.1908, allocations: 7.922 kB / 0.5801 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.1966, allocations: 3.16 MB / 0.5832 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1966, allocations: 0 / 0.5832 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005338/0.1971, allocations: 119.8 kB / 0.5833 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.1983, allocations: 487.3 kB / 0.5838 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.1984, allocations: 23.94 kB / 0.5838 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01004/0.2084, allocations: 9.52 MB / 0.5931 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.2084, allocations: 4.031 kB / 0.5931 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003877/0.2123, allocations: 2.34 MB / 0.5954 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.2129, allocations: 296.4 kB / 0.5956 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.213, allocations: 16 kB / 0.5957 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.2135, allocations: 55.94 kB / 0.5957 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.2138, allocations: 96.8 kB / 0.5958 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.2138, allocations: 20 kB / 0.5958 GB, free: 10.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009468/0.2148, allocations: 0.6356 MB / 0.5964 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2148, allocations: 0 / 0.5964 GB, free: 9.527 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001261/0.216, allocations: 312 kB / 0.5967 GB, free: 9.223 MB / 414.1 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.000195/0.2162, allocations: 115.2 kB / 0.5969 GB, free: 9.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0029/0.2191, allocations: 1.764 MB / 0.5986 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2191, allocations: 0 / 0.5986 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.2209, allocations: 1.223 MB / 0.5998 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.2221, allocations: 298.8 kB / 0.6001 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.2269, allocations: 2.87 MB / 0.6029 GB, free: 2.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.2281, allocations: 1.416 MB / 0.6042 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.2286, allocations: 191.8 kB / 0.6044 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.2288, allocations: 55.44 kB / 0.6045 GB, free: 1.129 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2288, allocations: 0 / 0.6045 GB, free: 1.129 MB / 414.1 MB Notification: Performance of Templates: time 0.03922/0.268, allocations: 21.56 MB / 0.6255 GB, free: 11.81 MB / 446.1 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: 5.757584766484797]