Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.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.001552/0.001552, allocations: 113.9 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.001703/0.001703, allocations: 209.8 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.387/1.387, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.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-beta.om_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-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") [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.00192/0.00192, allocations: 71.83 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2085, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R): time 0.007654/0.2162, allocations: 5.428 MB / 437.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004278/0.2205, allocations: 2.301 MB / 439.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.221, allocations: 23.88 kB / 439.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.2221, allocations: 0.6147 MB / 440.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.2236, allocations: 0.8053 MB / 441.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2249, allocations: 0.6068 MB / 441.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.2271, allocations: 1.848 MB / 443.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.2277, allocations: 360.4 kB / 444.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.2294, allocations: 1.546 MB / 445.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008856/0.2303, allocations: 0.6794 MB / 446.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002224/0.2305, allocations: 132 kB / 446.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.2308, allocations: 187.9 kB / 446.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004802/0.2313, allocations: 0.5203 MB / 447.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007348/0.2321, allocations: 0.7995 MB / 447.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.2343, allocations: 2.139 MB / 450.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2343, allocations: 4 kB / 450.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2343, allocations: 0 / 450.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.2344, allocations: 0 / 450.1 MB, free: 5.328 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.00538/0.2397, allocations: 3.134 MB / 453.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2398, allocations: 8.031 kB / 453.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/0.2406, allocations: 275.4 kB / 453.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.2436, allocations: 1.615 MB / 455.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.2436, allocations: 69.98 kB / 455.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2438, allocations: 88 kB / 455.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.2457, allocations: 0.9843 MB / 456.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.2457, allocations: 4 kB / 456.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.545e-05/0.2458, allocations: 35.98 kB / 456.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2458, allocations: 20 kB / 456.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.2477, allocations: 0.7728 MB / 457.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005437/0.2531, allocations: 3.208 MB / 460.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/0.2552, allocations: 0.8562 MB / 461.1 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.2562, allocations: 402.5 kB / 461.5 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.2563, allocations: 16.62 kB / 461.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/0.2575, allocations: 0.6286 MB / 462.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/0.2575, allocations: 0 / 462.2 MB, free: 8.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=82): time 0.0038/0.2613, allocations: 1.517 MB / 463.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.2615, allocations: 178.9 kB / 463.9 MB, free: 7.148 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.2638, allocations: 1.865 MB / 465.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/0.2639, allocations: 53.7 kB / 465.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005555/0.2644, allocations: 0.5935 MB / 466.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.2647, allocations: 265.8 kB / 466.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003472/0.265, allocations: 246.2 kB / 466.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2652, allocations: 341.9 kB / 467.2 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.2661, allocations: 380.6 kB / 467.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.2672, allocations: 0.6183 MB / 468.2 MB, free: 2.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.2692, allocations: 0.9822 MB / 469.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.2692, allocations: 4 kB / 469.2 MB, free: 1.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002517/0.2717, allocations: 1.209 MB / 470.4 MB, free: 316 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.2717, allocations: 33.7 kB / 470.4 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.2717, allocations: 8 kB / 470.4 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.2721, allocations: 92.81 kB / 470.5 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008167/0.2729, allocations: 191.7 kB / 470.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002219/0.2751, allocations: 2.054 MB / 472.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.276, allocations: 127.5 kB / 472.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.276, allocations: 47.92 kB / 472.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001491/0.2775, allocations: 0.8492 MB / 473.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001005/0.2785, allocations: 0.6066 MB / 474.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001722/0.2803, allocations: 0.9551 MB / 475.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.183e-06/0.2803, allocations: 11.92 kB / 475.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.00228/0.2825, allocations: 1.174 MB / 476.5 MB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.2826, allocations: 37.69 kB / 476.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.2826, allocations: 8 kB / 476.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.2829, allocations: 92.81 kB / 476.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.2836, allocations: 183.6 kB / 476.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.2857, allocations: 2.053 MB / 478.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.2865, allocations: 123.6 kB / 479 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/0.2866, allocations: 43.98 kB / 479.1 MB, free: 7.102 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.0003116/0.2869, allocations: 268.3 kB / 479.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.2871, allocations: 190.7 kB / 479.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.2896, allocations: 1.103 MB / 480.6 MB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.2896, allocations: 3.984 kB / 480.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2896, allocations: 0 / 480.6 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007977/0.2904, allocations: 483.4 kB / 481.1 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.2906, allocations: 24 kB / 481.1 MB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000684/0.2913, allocations: 79.84 kB / 481.2 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2914, allocations: 76.55 kB / 481.3 MB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00299/0.2944, allocations: 1.223 MB / 482.5 MB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003237/0.2977, allocations: 1.768 MB / 484.3 MB, free: 1.836 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009032/0.2986, allocations: 432.8 kB / 484.7 MB, free: 1.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001788/0.3004, allocations: 1.305 MB / 486 MB, free: 92 kB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.3004, allocations: 0 / 486 MB, free: 92 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004926/0.3053, allocations: 1.861 MB / 487.8 MB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 0.005051/0.3103, allocations: 3.797 MB / 491.6 MB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.03479/0.3451, allocations: 20.1 MB / 0.4997 GB, free: 6.508 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.377905504312366] 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.35320894373580813 0.36693951500000005 0.129649848 Calling exit ...