Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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.001299/0.001299, allocations: 110.8 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.001412/0.001412, allocations: 211.1 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80000,variableFilter="time|voltageSensor.v|multiSensor.i|multiSensor.v|multiSensor.power|meanPower.y|vRMS.y|vH01.y_rms|vH01.y_arg|iRMS.y|iH01.y_rms|iH01.y_arg",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.216, allocations: 53.38 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R): time 0.007308/0.2233, allocations: 4.844 MB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004294/0.2276, allocations: 2.209 MB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000602/0.2282, allocations: 23.81 kB / 439.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2293, allocations: 0.6264 MB / 440.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001492/0.2308, allocations: 0.7975 MB / 440.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2322, allocations: 0.6278 MB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002269/0.2345, allocations: 1.902 MB / 443.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006517/0.2351, allocations: 364.8 kB / 443.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.2369, allocations: 1.566 MB / 445.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009159/0.2379, allocations: 0.6832 MB / 446 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.2381, allocations: 136 kB / 446.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.2385, allocations: 184 kB / 446.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00047/0.2389, allocations: 0.5242 MB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.2395, allocations: 0.6093 MB / 447.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.2417, allocations: 2.166 MB / 449.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2417, allocations: 0 / 449.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2417, allocations: 0 / 449.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.2417, allocations: 0 / 449.6 MB, free: 5.371 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.005277/0.247, allocations: 3.055 MB / 452.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.247, allocations: 8.031 kB / 452.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/0.2478, allocations: 283.4 kB / 453 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.2509, allocations: 1.539 MB / 454.5 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.2509, allocations: 66 kB / 454.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.2511, allocations: 91.95 kB / 454.7 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.2531, allocations: 1.077 MB / 455.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.2531, allocations: 11.92 kB / 455.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.395e-05/0.2532, allocations: 35.98 kB / 455.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2532, allocations: 16 kB / 455.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.255, allocations: 0.7768 MB / 456.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005079/0.2601, allocations: 2.778 MB / 459.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.2621, allocations: 0.8409 MB / 460.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009707/0.2631, allocations: 406.5 kB / 460.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.2632, allocations: 16.64 kB / 460.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.2644, allocations: 0.6421 MB / 461.2 MB, free: 9.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.2644, allocations: 7.938 kB / 461.3 MB, free: 9.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.003617/0.268, allocations: 1.446 MB / 462.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.2681, allocations: 182.8 kB / 462.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.2704, allocations: 1.858 MB / 464.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.95e-05/0.2705, allocations: 53.69 kB / 464.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.271, allocations: 0.5779 MB / 465.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.2712, allocations: 273.7 kB / 465.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.2716, allocations: 250.2 kB / 465.9 MB, free: 4.684 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2717, allocations: 345.9 kB / 466.2 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008818/0.2726, allocations: 406.3 kB / 466.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2737, allocations: 0.7266 MB / 467.3 MB, free: 3.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.2755, allocations: 0.9821 MB / 468.3 MB, free: 1.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.2755, allocations: 7.938 kB / 468.3 MB, free: 1.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002404/0.2779, allocations: 1.231 MB / 469.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.278, allocations: 37.7 kB / 469.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.278, allocations: 8 kB / 469.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003398/0.2783, allocations: 92.81 kB / 469.7 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.2791, allocations: 191.6 kB / 469.9 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.2812, allocations: 1.903 MB / 471.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.2821, allocations: 127.4 kB / 471.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.2821, allocations: 40 kB / 471.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001427/0.2836, allocations: 0.8821 MB / 472.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/0.2846, allocations: 0.711 MB / 473.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/0.2863, allocations: 0.955 MB / 474.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.188e-06/0.2863, allocations: 0 / 474.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.002257/0.2886, allocations: 1.211 MB / 475.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.2886, allocations: 33.7 kB / 475.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.2886, allocations: 8 kB / 475.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.2889, allocations: 101.3 kB / 475.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.2896, allocations: 183.9 kB / 476 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.2916, allocations: 1.907 MB / 477.9 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/0.2925, allocations: 127.5 kB / 478.1 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.2925, allocations: 43.92 kB / 478.1 MB, free: 7.688 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 40 (meanPower.y_last,$PRE.meanPower.y_last,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,iH01.mean1.y_last,$PRE.iH01.mean1.y_last,iH01.mean2.y_last,$PRE.iH01.mean2.y_last,iRMS.mean.y_last,$PRE.iRMS.mean.y_last,vH01.mean1.y_last,$PRE.vH01.mean1.y_last,vH01.mean2.y_last,$PRE.vH01.mean2.y_last,vRMS.mean.y_last,$PRE.vRMS.mean.y_last,triac.thyristor1.off,$PRE.triac.thyristor1.off,triac.thyristor2.off,$PRE.triac.thyristor2.off,adaptor.positiveThreshold[1].y,adaptor.negativeThreshold[1].y,adaptor.timerPositive[1].entryTime,$PRE.adaptor.timerPositive[1].entryTime,adaptor.timerNegative[1].entryTime,$PRE.adaptor.timerNegative[1].entryTime,adaptor.fire_p[1],adaptor.fire_n[1],trapezoid.T_start,$PRE.trapezoid.T_start,trapezoid.count,$PRE.trapezoid.count,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002851/0.2928, allocations: 256 kB / 478.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.2931, allocations: 198.7 kB / 478.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.2955, allocations: 1.11 MB / 479.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.2955, allocations: 3.984 kB / 479.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2955, allocations: 0 / 479.7 MB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/0.2964, allocations: 432.5 kB / 480.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.2966, allocations: 27.98 kB / 480.1 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/0.2973, allocations: 79.91 kB / 480.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.2975, allocations: 76.64 kB / 480.3 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002853/0.3003, allocations: 1.223 MB / 481.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003112/0.3034, allocations: 1.776 MB / 483.3 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008566/0.3043, allocations: 428.9 kB / 483.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.3059, allocations: 1.293 MB / 485 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of Backend: time 3.3e-07/0.3059, allocations: 0 / 485 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004787/0.3107, allocations: 1.951 MB / 486.9 MB, free: 14.9 MB / 398.1 MB Notification: Performance of SimCode: time 0.004787/0.3155, allocations: 3.788 MB / 490.7 MB, free: 11.05 MB / 398.1 MB Notification: Performance of Templates: time 0.03473/0.3502, allocations: 21.92 MB / 0.5006 GB, free: 5.375 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.598511930998939] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSensor.v', 'multiSensor.i', 'multiSensor.v', 'multiSensor.power', 'meanPower.y', 'vRMS.y', 'vH01.y_rms', 'vH01.y_arg', 'iRMS.y', 'iH01.y_rms', 'iH01.y_arg'] 0.3580409799978952 0.37176818500000003 0.127110473 Calling exit ...