Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.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.001888/0.001888, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] 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.002184/0.002184, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.571/1.571, allocations: 230.6 MB / 258.3 MB, free: 7.809 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+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 43.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2055, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier): time 0.007555/0.2131, allocations: 5.604 MB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.2167, allocations: 2.11 MB / 440.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.2171, allocations: 23.88 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.2189, allocations: 0.714 MB / 440.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.2203, allocations: 0.5861 MB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2213, allocations: 0.5183 MB / 441.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.2226, allocations: 1.187 MB / 443.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.2237, allocations: 0.7757 MB / 443.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.2243, allocations: 494.2 kB / 444.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.225, allocations: 0.5406 MB / 444.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.2251, allocations: 112 kB / 445 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.2256, allocations: 271.8 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.2259, allocations: 251.1 kB / 445.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.2263, allocations: 457.9 kB / 446 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.228, allocations: 1.494 MB / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.228, allocations: 0 / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.228, allocations: 0 / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.228, allocations: 4 kB / 447.5 MB, free: 7.566 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.003363/0.2314, allocations: 1.67 MB / 449.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2314, allocations: 12.03 kB / 449.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.2341, allocations: 395.8 kB / 449.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009634/0.2351, allocations: 0.5211 MB / 450 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.26e-05/0.2351, allocations: 74.38 kB / 450.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.2353, allocations: 104.3 kB / 450.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.2372, allocations: 1.124 MB / 451.3 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.2373, allocations: 4 kB / 451.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.2374, allocations: 44 kB / 451.4 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.2374, allocations: 31.94 kB / 451.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.2391, allocations: 0.8432 MB / 452.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005055/0.2442, allocations: 2.968 MB / 455.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.2462, allocations: 0.8551 MB / 456.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009036/0.2471, allocations: 399.5 kB / 456.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.2472, allocations: 24.64 kB / 456.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.2482, allocations: 0.5894 MB / 457.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.685e-06/0.2482, allocations: 0 / 457.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.004662/0.2529, allocations: 1.481 MB / 458.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.253, allocations: 196.9 kB / 458.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.2535, allocations: 461.9 kB / 459.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.271e-05/0.2536, allocations: 41.7 kB / 459.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.2539, allocations: 428.7 kB / 459.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.2541, allocations: 285.5 kB / 460 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.2544, allocations: 162.6 kB / 460.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2546, allocations: 370.7 kB / 460.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.2552, allocations: 277.9 kB / 460.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008305/0.256, allocations: 0.5762 MB / 461.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.2574, allocations: 0.7356 MB / 462.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2574, allocations: 0 / 462.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002161/0.2595, allocations: 1.018 MB / 463.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2595, allocations: 8 kB / 463.1 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.2596, allocations: 8 kB / 463.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009512/0.2605, allocations: 257.6 kB / 463.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.2611, allocations: 143.7 kB / 463.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005892/0.267, allocations: 4.562 MB / 468 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.2676, allocations: 95.55 kB / 468.1 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.2676, allocations: 35.98 kB / 468.2 MB, free: 2.039 MB / 366.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.000369/0.268, allocations: 245.6 kB / 468.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2681, allocations: 67.58 kB / 468.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.2703, allocations: 0.9553 MB / 469.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.2703, allocations: 7.984 kB / 469.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2703, allocations: 0 / 469.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.2706, allocations: 135.3 kB / 469.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2707, allocations: 27.88 kB / 469.6 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.2712, allocations: 43.97 kB / 469.6 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.2713, allocations: 68.86 kB / 469.7 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002635/0.274, allocations: 1.105 MB / 470.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002107/0.2761, allocations: 1.298 MB / 472.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005672/0.2766, allocations: 279.8 kB / 472.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.277, allocations: 310.9 kB / 472.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of Backend: time 3.91e-07/0.277, allocations: 0 / 472.7 MB, free: 13.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.2791, allocations: 0.9853 MB / 473.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of SimCode: time 0.002746/0.2818, allocations: 2.126 MB / 475.8 MB, free: 10.27 MB / 382.1 MB Notification: Performance of Templates: time 0.025/0.3068, allocations: 15.13 MB / 490.9 MB, free: 11.35 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.886681845004205] 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.314724051997473 0.32928486700000004 0.098210348 Calling exit ...