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_RL.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.001242/0.001242, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.00135/0.00135, allocations: 212.2 kB / 24.48 MB, free: 4.191 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.388/1.388, allocations: 230.4 MB / 258.1 MB, free: 8.137 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_RL,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL,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_RL") [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.00194/0.00194, allocations: 71.81 kB / 378.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2078, allocations: 53.31 MB / 432.1 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL): time 0.007226/0.215, allocations: 5.515 MB / 437.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.2188, allocations: 2.322 MB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.2191, allocations: 19.94 kB / 439.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.2201, allocations: 0.6341 MB / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.2213, allocations: 0.7936 MB / 441.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.2225, allocations: 0.6186 MB / 442 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.2244, allocations: 1.867 MB / 443.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.225, allocations: 370.1 kB / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.2266, allocations: 1.546 MB / 445.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.2275, allocations: 0.7027 MB / 446.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.2277, allocations: 136 kB / 446.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.228, allocations: 176 kB / 446.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.2285, allocations: 0.532 MB / 447.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007114/0.2292, allocations: 0.815 MB / 448.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.2313, allocations: 2.166 MB / 450.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2313, allocations: 0 / 450.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2313, allocations: 0 / 450.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.2313, allocations: 0 / 450.3 MB, free: 5.027 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00531/0.2367, allocations: 3.155 MB / 453.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2367, allocations: 11.97 kB / 453.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.2375, allocations: 283.4 kB / 453.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003104/0.2406, allocations: 1.619 MB / 455.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2407, allocations: 77.98 kB / 455.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2408, allocations: 95.95 kB / 455.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.2428, allocations: 0.9883 MB / 456.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.2428, allocations: 3.938 kB / 456.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.513e-05/0.2429, allocations: 39.98 kB / 456.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.2429, allocations: 20 kB / 456.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.2448, allocations: 0.7885 MB / 457.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/0.2502, allocations: 3.24 MB / 460.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.2523, allocations: 0.8831 MB / 461.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.2533, allocations: 418.5 kB / 461.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.2534, allocations: 12.66 kB / 461.9 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2546, allocations: 0.6453 MB / 462.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.2546, allocations: 0 / 462.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.003654/0.2583, allocations: 1.532 MB / 464.1 MB, free: 6.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2584, allocations: 175.2 kB / 464.3 MB, free: 6.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.2607, allocations: 1.865 MB / 466.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.497e-05/0.2607, allocations: 49.7 kB / 466.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005325/0.2613, allocations: 0.5974 MB / 466.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.2615, allocations: 277.8 kB / 467 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003383/0.2619, allocations: 262.1 kB / 467.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.262, allocations: 341.9 kB / 467.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.2629, allocations: 380.6 kB / 468 MB, free: 2.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.264, allocations: 0.6301 MB / 468.6 MB, free: 2.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.2659, allocations: 0.9902 MB / 469.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.2659, allocations: 0 / 469.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002434/0.2684, allocations: 1.221 MB / 470.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.2684, allocations: 37.7 kB / 470.9 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2684, allocations: 8 kB / 470.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.2687, allocations: 88.75 kB / 471 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008141/0.2695, allocations: 191.7 kB / 471.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.2716, allocations: 2.003 MB / 473.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008124/0.2724, allocations: 135.5 kB / 473.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.2725, allocations: 36 kB / 473.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/0.2739, allocations: 0.8571 MB / 474.2 MB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001031/0.275, allocations: 0.6145 MB / 474.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001736/0.2767, allocations: 0.9668 MB / 475.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.023e-06/0.2767, allocations: 4 kB / 475.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.002273/0.279, allocations: 1.182 MB / 477 MB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/0.279, allocations: 40.5 kB / 477 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.279, allocations: 8.188 kB / 477 MB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.2793, allocations: 97.06 kB / 477.1 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/0.28, allocations: 187.7 kB / 477.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.2821, allocations: 1.995 MB / 479.3 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/0.2828, allocations: 127.5 kB / 479.4 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.2829, allocations: 43.98 kB / 479.4 MB, free: 6.648 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 (112): * Single equations (assignments): 110 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/0.2832, allocations: 263.9 kB / 479.7 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.2834, allocations: 194.7 kB / 479.9 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.2859, allocations: 1.122 MB / 481 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.2859, allocations: 3.984 kB / 481 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2859, allocations: 3.984 kB / 481 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007945/0.2867, allocations: 487.4 kB / 481.5 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.2869, allocations: 27.92 kB / 481.5 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/0.2876, allocations: 83.84 kB / 481.6 MB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.2877, allocations: 76.84 kB / 481.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003034/0.2908, allocations: 1.247 MB / 482.9 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003224/0.294, allocations: 1.795 MB / 484.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009096/0.2949, allocations: 431.7 kB / 485.1 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001736/0.2966, allocations: 1.313 MB / 486.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of Backend: time 2.8e-07/0.2966, allocations: 0 / 486.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.3015, allocations: 1.867 MB / 488.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 0.005169/0.3067, allocations: 3.878 MB / 492.2 MB, free: 9.848 MB / 398.1 MB Notification: Performance of Templates: time 0.03467/0.3414, allocations: 20.16 MB / 0.5004 GB, free: 5.816 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.137495861854404] 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.34950564289465547 0.36297462099999994 0.128654602 Calling exit ...