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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 103.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 246.8 MB, free: 13.68 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 197.3 kB / 302 MB, free: 9.195 MB / 238.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04269/0.04269, allocations: 8.927 MB / 366 MB, free: 9.348 MB / 302.1 MB [Timeout remaining time 90] 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.002475/0.002475, allocations: 82.3 kB / 489.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.09055, allocations: 54.41 MB / 0.5314 GB, free: 14.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.006025/0.09657, allocations: 4.522 MB / 0.5358 GB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.09873, allocations: 1.157 MB / 0.537 GB, free: 9.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.09899, allocations: 27.88 kB / 0.537 GB, free: 9.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.09937, allocations: 178.6 kB / 0.5372 GB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.1003, allocations: 366 kB / 0.5375 GB, free: 8.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.1006, allocations: 167.7 kB / 0.5377 GB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.1023, allocations: 1.646 MB / 0.5393 GB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1034, allocations: 0.8414 MB / 0.5401 GB, free: 5.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007948/0.1042, allocations: 0.7009 MB / 0.5408 GB, free: 5.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.1053, allocations: 0.8795 MB / 0.5416 GB, free: 4.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.1056, allocations: 180 kB / 0.5418 GB, free: 4.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.1059, allocations: 184 kB / 0.542 GB, free: 4.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.1063, allocations: 0.4986 MB / 0.5425 GB, free: 3.555 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.1072, allocations: 0.809 MB / 0.5433 GB, free: 2.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.1095, allocations: 2.351 MB / 0.5456 GB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1095, allocations: 0 / 0.5456 GB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1095, allocations: 0 / 0.5456 GB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.992e-05/0.1095, allocations: 0 / 0.5456 GB, free: 392 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.00324/0.1127, allocations: 1.838 MB / 0.5474 GB, free: 14.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1128, allocations: 15.97 kB / 0.5474 GB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.1131, allocations: 160 kB / 0.5475 GB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.1146, allocations: 0.9822 MB / 0.5485 GB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.1147, allocations: 82.61 kB / 0.5486 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.1149, allocations: 124 kB / 0.5487 GB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.1178, allocations: 1.685 MB / 0.5503 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.1178, allocations: 4 kB / 0.5503 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1179, allocations: 44 kB / 0.5504 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/0.118, allocations: 50.22 kB / 0.5504 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.1206, allocations: 1.554 MB / 0.5519 GB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007527/0.1282, allocations: 4.956 MB / 0.5568 GB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.1308, allocations: 2.506 MB / 0.5592 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.1321, allocations: 0.798 MB / 0.56 GB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.1322, allocations: 9 kB / 0.56 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/0.1322, allocations: 51.55 kB / 0.5601 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.136e-06/0.1322, allocations: 0 / 0.5601 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.008273/0.1405, allocations: 4.084 MB / 0.564 GB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1405, allocations: 64.34 kB / 0.5641 GB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.1418, allocations: 0.8715 MB / 0.565 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.1418, allocations: 45.7 kB / 0.565 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.1423, allocations: 0.5087 MB / 0.5655 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.1425, allocations: 329.2 kB / 0.5658 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.1428, allocations: 146.7 kB / 0.566 GB, free: 10.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.143, allocations: 345.9 kB / 0.5663 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008697/0.1438, allocations: 0.4899 MB / 0.5668 GB, free: 9.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000923/0.1447, allocations: 0.5645 MB / 0.5673 GB, free: 9.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.1465, allocations: 1.065 MB / 0.5684 GB, free: 8.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1465, allocations: 0 / 0.5684 GB, free: 8.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002731/0.1492, allocations: 1.554 MB / 0.5699 GB, free: 6.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1493, allocations: 4.094 kB / 0.5699 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1493, allocations: 8 kB / 0.5699 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.1504, allocations: 498.9 kB / 0.5704 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/0.151, allocations: 139.8 kB / 0.5705 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.1612, allocations: 9.59 MB / 0.5799 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.1618, allocations: 52.02 kB / 0.5799 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.1619, allocations: 20 kB / 0.5799 GB, free: 11.83 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.0008071/0.1627, allocations: 0.5052 MB / 0.5804 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.1628, allocations: 99.39 kB / 0.5805 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.1631, allocations: 133.3 kB / 0.5806 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.1631, allocations: 16 kB / 0.5807 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.1632, allocations: 0 / 0.5807 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1632, allocations: 3.984 kB / 0.5807 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.1686, allocations: 3.156 MB / 0.5837 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.84e-06/0.1686, allocations: 3.938 kB / 0.5837 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/0.1692, allocations: 115.9 kB / 0.5839 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.1703, allocations: 495.3 kB / 0.5843 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.1703, allocations: 23.98 kB / 0.5844 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.1806, allocations: 9.527 MB / 0.5937 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1806, allocations: 0 / 0.5937 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.1845, allocations: 2.34 MB / 0.5959 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006483/0.1852, allocations: 296.4 kB / 0.5962 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.1854, allocations: 23.98 kB / 0.5962 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.1859, allocations: 55.94 kB / 0.5963 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.1862, allocations: 84.88 kB / 0.5964 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.275e-05/0.1863, allocations: 27.98 kB / 0.5964 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009391/0.1872, allocations: 0.6278 MB / 0.597 GB, free: 9.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1872, allocations: 0 / 0.597 GB, free: 9.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001318/0.1885, allocations: 312 kB / 0.5973 GB, free: 9.312 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.0002115/0.1887, allocations: 127.2 kB / 0.5974 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.1917, allocations: 1.756 MB / 0.5992 GB, free: 7.367 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.1917, allocations: 4.188 kB / 0.5992 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.1937, allocations: 1.219 MB / 0.6003 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.195, allocations: 292.2 kB / 0.6006 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.2004, allocations: 2.88 MB / 0.6034 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/0.2017, allocations: 1.4 MB / 0.6048 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.202, allocations: 63.44 kB / 0.6049 GB, free: 1.41 MB / 414.1 MB Notification: Performance of SimCode: time 1.252e-06/0.202, allocations: 0 / 0.6049 GB, free: 1.41 MB / 414.1 MB Notification: Performance of Templates: time 0.05205/0.254, allocations: 41.36 MB / 0.6453 GB, free: 8.102 MB / 462.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]