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.001429/0.001429, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.023/1.023, allocations: 177.1 MB / 200 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.001303/0.001303, allocations: 168.6 kB / 256.6 MB, free: 13.14 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.02235/0.02235, allocations: 6.663 MB / 319.8 MB, free: 26.49 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.413e-06/1.413e-06, allocations: 0 / 391.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.715e-05, allocations: 2.312 kB / 391.6 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Rectifier): time 0.01104/0.01106, allocations: 4.485 MB / 396.1 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.01324, allocations: 1.203 MB / 397.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.01472, allocations: 35.75 kB / 397.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.01508, allocations: 186.5 kB / 397.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008972/0.01597, allocations: 385.5 kB / 397.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.01632, allocations: 187.6 kB / 398.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.0178, allocations: 1.715 MB / 399.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000772/0.01857, allocations: 0.5997 MB / 400.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.0196, allocations: 1.06 MB / 401.5 MB, free: 8.625 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009317/0.02053, allocations: 0.8457 MB / 402.3 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002614/0.02079, allocations: 180 kB / 402.5 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.02108, allocations: 188 kB / 402.7 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003544/0.02143, allocations: 0.522 MB / 403.2 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005242/0.02195, allocations: 0.5846 MB / 403.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.02314, allocations: 1.387 MB / 405.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.02314, allocations: 4 kB / 405.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02314, allocations: 0 / 405.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.02318, allocations: 0 / 405.2 MB, free: 4.914 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.002176/0.02536, allocations: 1.913 MB / 407.1 MB, free: 2.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.02539, allocations: 8.031 kB / 407.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.02579, allocations: 271.9 kB / 407.4 MB, free: 2.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.02687, allocations: 0.85 MB / 408.2 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.02692, allocations: 82.61 kB / 408.3 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.02703, allocations: 112.4 kB / 408.4 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.02826, allocations: 1.056 MB / 409.5 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.02828, allocations: 7.922 kB / 409.5 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/0.02835, allocations: 48 kB / 409.5 MB, free: 420 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/0.02841, allocations: 46.22 kB / 409.6 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1448/0.1732, allocations: 450.9 kB / 410 MB, free: 80.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005719/0.1789, allocations: 4.033 MB / 414 MB, free: 79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.18, allocations: 0.8127 MB / 414.9 MB, free: 78.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.1806, allocations: 382.9 kB / 415.2 MB, free: 78.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.1806, allocations: 15.25 kB / 415.2 MB, free: 78.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1806, allocations: 50.8 kB / 415.3 MB, free: 78.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.886e-06/0.1806, allocations: 0 / 415.3 MB, free: 78.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.003713/0.1843, allocations: 2.095 MB / 417.4 MB, free: 77.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1844, allocations: 63.55 kB / 417.4 MB, free: 77.76 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006643/0.185, allocations: 0.7198 MB / 418.2 MB, free: 77.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.1851, allocations: 42.38 kB / 418.2 MB, free: 77.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.1854, allocations: 0.5858 MB / 418.8 MB, free: 76.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.1855, allocations: 330.3 kB / 419.1 MB, free: 76.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.1857, allocations: 162.8 kB / 419.3 MB, free: 76.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1859, allocations: 0.6027 MB / 419.9 MB, free: 76.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.1861, allocations: 130.3 kB / 420 MB, free: 76.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.1864, allocations: 240.4 kB / 420.2 MB, free: 76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.187, allocations: 405.3 kB / 420.6 MB, free: 75.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.187, allocations: 2.125 kB / 420.6 MB, free: 75.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001026/0.188, allocations: 0.7548 MB / 421.4 MB, free: 75.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.188, allocations: 6.75 kB / 421.4 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.188, allocations: 1.219 kB / 421.4 MB, free: 75.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.1886, allocations: 259 kB / 421.7 MB, free: 75.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.1889, allocations: 130.1 kB / 421.8 MB, free: 75.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.1928, allocations: 9.248 MB / 431 MB, free: 66.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.193, allocations: 42.34 kB / 431.1 MB, free: 66.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.1931, allocations: 22.86 kB / 431.1 MB, free: 66.88 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.0002272/0.1933, allocations: 206.4 kB / 431.3 MB, free: 66.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1934, allocations: 126.6 kB / 431.4 MB, free: 66.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.722e-05/0.1935, allocations: 121.3 kB / 431.5 MB, free: 66.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.1935, allocations: 9.188 kB / 431.5 MB, free: 66.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.1935, allocations: 1.156 kB / 431.5 MB, free: 66.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1935, allocations: 5.078 kB / 431.6 MB, free: 66.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.1956, allocations: 1.989 MB / 433.5 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1956, allocations: 0.875 kB / 433.5 MB, free: 65.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.1959, allocations: 124 kB / 433.7 MB, free: 65.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.1963, allocations: 250.8 kB / 433.9 MB, free: 65.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.1963, allocations: 27.28 kB / 433.9 MB, free: 65.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/0.1995, allocations: 9.189 MB / 443.1 MB, free: 56.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1995, allocations: 4 kB / 443.1 MB, free: 56.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2006, allocations: 1.098 MB / 444.2 MB, free: 55.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.2008, allocations: 206.8 kB / 444.4 MB, free: 55.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.2008, allocations: 23.94 kB / 444.5 MB, free: 55.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.201, allocations: 57.8 kB / 444.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.2012, allocations: 104.8 kB / 444.6 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.2012, allocations: 20 kB / 444.6 MB, free: 55.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.2015, allocations: 454.9 kB / 445.1 MB, free: 54.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2015, allocations: 4 kB / 445.1 MB, free: 54.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007269/0.2022, allocations: 308 kB / 445.4 MB, free: 54.3 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.0001176/0.2024, allocations: 126.1 kB / 445.5 MB, free: 54.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.2034, allocations: 1.333 MB / 446.8 MB, free: 52.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2034, allocations: 7.938 kB / 446.8 MB, free: 52.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000603/0.204, allocations: 1.138 MB / 448 MB, free: 51.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2046, allocations: 289.7 kB / 448.3 MB, free: 51.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.2071, allocations: 2.339 MB / 450.6 MB, free: 48.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2073, allocations: 412.5 kB / 451 MB, free: 48.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.2075, allocations: 143.5 kB / 451.1 MB, free: 48.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.2076, allocations: 60.33 kB / 451.2 MB, free: 48.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.2076, allocations: 0 / 451.2 MB, free: 48.3 MB / 330.7 MB Notification: Performance of Templates: time 0.01902/0.2266, allocations: 20.82 MB / 472 MB, free: 27.8 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.6280194059945643]