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.001029/0.001029, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.046/1.046, allocations: 177.1 MB / 200.5 MB, free: 5.84 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.001411/0.001411, allocations: 160.6 kB / 257 MB, free: 13.21 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.02412/0.02412, allocations: 6.657 MB / 320.1 MB, free: 26.59 MB / 266.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.533e-06/1.533e-06, allocations: 0 / 391.6 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.745e-05, allocations: 6.25 kB / 391.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.005387/0.005414, allocations: 4.477 MB / 396.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.008047, allocations: 1.215 MB / 397.3 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005358/0.008582, allocations: 35.81 kB / 397.4 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.00898, allocations: 182.6 kB / 397.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.01009, allocations: 373.5 kB / 397.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.01064, allocations: 191.6 kB / 398.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001874/0.01252, allocations: 1.711 MB / 399.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007978/0.01332, allocations: 0.5997 MB / 400.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.01471, allocations: 1.056 MB / 401.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.01619, allocations: 0.8458 MB / 402.3 MB, free: 8.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004821/0.01667, allocations: 180 kB / 402.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.01699, allocations: 188 kB / 402.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004119/0.0174, allocations: 0.5259 MB / 403.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008071/0.01821, allocations: 0.5769 MB / 403.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.01957, allocations: 1.39 MB / 405.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01957, allocations: 0 / 405.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01957, allocations: 0 / 405.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.01959, allocations: 0 / 405.2 MB, free: 5.344 MB / 330.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.002074/0.02167, allocations: 1.91 MB / 407.1 MB, free: 3.391 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.02171, allocations: 8.031 kB / 407.1 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004336/0.02215, allocations: 271.9 kB / 407.4 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009113/0.02306, allocations: 0.8678 MB / 408.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.02311, allocations: 90.61 kB / 408.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.02324, allocations: 108.4 kB / 408.4 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.02453, allocations: 1.048 MB / 409.5 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.02455, allocations: 3.938 kB / 409.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.02463, allocations: 48 kB / 409.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-05/0.02468, allocations: 46.23 kB / 409.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008357/0.02552, allocations: 452.9 kB / 410 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.139/0.1645, allocations: 4.036 MB / 414 MB, free: 81.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.1658, allocations: 0.8209 MB / 414.9 MB, free: 81.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.1665, allocations: 382 kB / 415.2 MB, free: 81.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.1665, allocations: 15.84 kB / 415.2 MB, free: 81.17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.1665, allocations: 44.69 kB / 415.3 MB, free: 81.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 4.619e-06/0.1665, allocations: 0 / 415.3 MB, free: 81.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.004022/0.1706, allocations: 2.102 MB / 417.4 MB, free: 80.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.1706, allocations: 62.75 kB / 417.5 MB, free: 80.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00081/0.1714, allocations: 0.72 MB / 418.2 MB, free: 79.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.1715, allocations: 44.42 kB / 418.2 MB, free: 79.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.1718, allocations: 0.5836 MB / 418.8 MB, free: 79.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.172, allocations: 329.3 kB / 419.1 MB, free: 79.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.1722, allocations: 159.6 kB / 419.3 MB, free: 79.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1724, allocations: 0.6059 MB / 419.9 MB, free: 78.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.1728, allocations: 130.3 kB / 420 MB, free: 78.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003668/0.1731, allocations: 239.6 kB / 420.2 MB, free: 78.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.1737, allocations: 415.9 kB / 420.7 MB, free: 78.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1737, allocations: 0 / 420.7 MB, free: 78.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00128/0.175, allocations: 0.7463 MB / 421.4 MB, free: 78.03 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.1751, allocations: 5.375 kB / 421.4 MB, free: 78.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1751, allocations: 4.812 kB / 421.4 MB, free: 78.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007239/0.1758, allocations: 256 kB / 421.7 MB, free: 77.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.1761, allocations: 130.6 kB / 421.8 MB, free: 77.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.1807, allocations: 9.248 MB / 431 MB, free: 69.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.181, allocations: 40.22 kB / 431.1 MB, free: 69.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.1811, allocations: 29.38 kB / 431.1 MB, free: 69.34 MB / 330.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.0003405/0.1814, allocations: 199.8 kB / 431.3 MB, free: 69.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.1816, allocations: 127.7 kB / 431.4 MB, free: 69.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.1817, allocations: 124.6 kB / 431.5 MB, free: 68.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1817, allocations: 8.031 kB / 431.6 MB, free: 68.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.1817, allocations: 3.969 kB / 431.6 MB, free: 68.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1817, allocations: 6.938 kB / 431.6 MB, free: 68.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.1841, allocations: 1.997 MB / 433.6 MB, free: 67.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1841, allocations: 0 / 433.6 MB, free: 67.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.1844, allocations: 112.5 kB / 433.7 MB, free: 67.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004471/0.1848, allocations: 262.6 kB / 433.9 MB, free: 67.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.1849, allocations: 15.88 kB / 433.9 MB, free: 67.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/0.1883, allocations: 9.196 MB / 443.1 MB, free: 58.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1883, allocations: 4.797 kB / 443.1 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1895, allocations: 1.1 MB / 444.2 MB, free: 57.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1897, allocations: 203.3 kB / 444.4 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.1898, allocations: 20 kB / 444.5 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.19, allocations: 51.95 kB / 444.5 MB, free: 56.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1902, allocations: 108.7 kB / 444.6 MB, free: 56.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.1902, allocations: 24 kB / 444.6 MB, free: 56.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003478/0.1906, allocations: 463.8 kB / 445.1 MB, free: 56.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1906, allocations: 0 / 445.1 MB, free: 56.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009282/0.1915, allocations: 304 kB / 445.4 MB, free: 56.06 MB / 330.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.0001397/0.1916, allocations: 123.2 kB / 445.5 MB, free: 55.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1928, allocations: 1.336 MB / 446.8 MB, free: 54.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1928, allocations: 0 / 446.8 MB, free: 54.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.1935, allocations: 1.141 MB / 448 MB, free: 53.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.1941, allocations: 279.4 kB / 448.3 MB, free: 53.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.1971, allocations: 2.36 MB / 450.6 MB, free: 50.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.1974, allocations: 408.5 kB / 451 MB, free: 50.26 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.1977, allocations: 139.5 kB / 451.2 MB, free: 50.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1978, allocations: 60.5 kB / 451.2 MB, free: 50.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1978, allocations: 0 / 451.2 MB, free: 50.06 MB / 330.7 MB Notification: Performance of Templates: time 0.02004/0.2178, allocations: 19.97 MB / 471.2 MB, free: 30.4 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.5446045000571758]