Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001498/0.001498, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.164 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2118, allocations: 53.31 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.008023/0.2198, allocations: 6.342 MB / 438.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004006/0.2238, allocations: 2.25 MB / 440.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005596/0.2244, allocations: 23.94 kB / 440.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.2263, allocations: 0.7525 MB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.2278, allocations: 0.6055 MB / 442 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2288, allocations: 0.5339 MB / 442.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.23, allocations: 1.191 MB / 443.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009724/0.231, allocations: 0.6676 MB / 444.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005419/0.2315, allocations: 478.2 kB / 444.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.2322, allocations: 0.5367 MB / 445.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.2323, allocations: 116 kB / 445.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.2328, allocations: 283.8 kB / 445.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.2331, allocations: 251.1 kB / 446.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004994/0.2336, allocations: 0.5558 MB / 446.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2352, allocations: 1.486 MB / 448.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2352, allocations: 0 / 448.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2352, allocations: 0 / 448.1 MB, free: 7.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.2352, allocations: 0 / 448.1 MB, free: 7.27 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003298/0.2385, allocations: 1.745 MB / 449.9 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2385, allocations: 8.031 kB / 449.9 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002511/0.241, allocations: 395.9 kB / 450.2 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009269/0.2419, allocations: 0.5853 MB / 450.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.242, allocations: 78.38 kB / 450.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.2422, allocations: 108.3 kB / 451 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.244, allocations: 1.016 MB / 452 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.71e-05/0.244, allocations: 11.88 kB / 452 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.2441, allocations: 48 kB / 452.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.2441, allocations: 24 kB / 452.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2458, allocations: 0.8511 MB / 453 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005297/0.2511, allocations: 3.606 MB / 456.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.2536, allocations: 1.83 MB / 458.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.2545, allocations: 403.5 kB / 458.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.2546, allocations: 182.8 kB / 459 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008863/0.2555, allocations: 496.8 kB / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/0.2555, allocations: 0 / 459.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.00457/0.2601, allocations: 1.639 MB / 461.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.2602, allocations: 189 kB / 461.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.2607, allocations: 486 kB / 461.8 MB, free: 8.887 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.2608, allocations: 45.69 kB / 461.8 MB, free: 8.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.2611, allocations: 428.7 kB / 462.2 MB, free: 8.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.2614, allocations: 289.5 kB / 462.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.2616, allocations: 154.6 kB / 462.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.2618, allocations: 382.7 kB / 463 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/0.2624, allocations: 265.9 kB / 463.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.2632, allocations: 491.2 kB / 463.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2645, allocations: 0.7318 MB / 464.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2645, allocations: 0 / 464.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002103/0.2666, allocations: 1.022 MB / 465.5 MB, free: 4.914 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2666, allocations: 6.812 kB / 465.5 MB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2666, allocations: 8 kB / 465.5 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008939/0.2675, allocations: 273.5 kB / 465.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/0.2681, allocations: 147.7 kB / 465.9 MB, free: 4.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005867/0.2739, allocations: 4.855 MB / 470.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005699/0.2745, allocations: 107.4 kB / 470.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.2746, allocations: 36.02 kB / 470.9 MB, free: 15.22 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y_last,$PRE.iDC2.mean.y_last,iAC.mean1.y_last,$PRE.iAC.mean1.y_last,iAC.mean2.y_last,$PRE.iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/0.2749, allocations: 254.2 kB / 471.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.275, allocations: 67.58 kB / 471.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/0.2772, allocations: 0.9476 MB / 472.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.2772, allocations: 7.922 kB / 472.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2772, allocations: 7.984 kB / 472.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.2775, allocations: 212.4 kB / 472.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2776, allocations: 20 kB / 472.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.278, allocations: 43.97 kB / 472.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2781, allocations: 64.91 kB / 472.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002585/0.2807, allocations: 1.126 MB / 473.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002169/0.2829, allocations: 1.29 MB / 475 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005675/0.2835, allocations: 283.8 kB / 475.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003731/0.2838, allocations: 326.9 kB / 475.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.2838, allocations: 0 / 475.6 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.2859, allocations: 1.001 MB / 476.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of SimCode: time 0.002692/0.2886, allocations: 2.158 MB / 478.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of Templates: time 0.02401/0.3126, allocations: 14.45 MB / 493.2 MB, free: 8.953 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.561099443119019] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageQS.pin_p.reference.gamma', 'iAC.mean1.y', 'iAC.mean2.y', 'iDC2.mean.y'] 0.32050970708951354 0.33412125000000004 0.096007066 Calling exit ...