Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.000933/0.000933, allocations: 71.7 kB / 21.7 MB, free: 2.844 MB / 18.57 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.0009563/0.0009563, allocations: 164.8 kB / 25 MB, free: 8.809 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.946/0.946, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") translateModel(ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.79e-05, allocations: 4.844 kB / 378.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R): time 0.005311/0.005329, allocations: 5.304 MB / 384.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003169/0.008498, allocations: 2.274 MB / 386.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.009, allocations: 31.75 kB / 386.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.01006, allocations: 0.6223 MB / 387.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.0111, allocations: 0.8047 MB / 387.9 MB, free: 9.195 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/0.01208, allocations: 0.647 MB / 388.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.01353, allocations: 1.765 MB / 390.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.01398, allocations: 348.8 kB / 390.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.01546, allocations: 1.789 MB / 392.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.01601, allocations: 0.56 MB / 393 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.01617, allocations: 132 kB / 393.1 MB, free: 3.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.01639, allocations: 171.9 kB / 393.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005382/0.01693, allocations: 0.5285 MB / 393.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.01726, allocations: 470.3 kB / 394.3 MB, free: 2.773 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.01832, allocations: 1.37 MB / 395.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01832, allocations: 0 / 395.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01832, allocations: 0 / 395.7 MB, free: 1.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.01835, allocations: 0 / 395.7 MB, free: 1.398 MB / 362.7 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.002957/0.02131, allocations: 3.154 MB / 398.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.02135, allocations: 8.031 kB / 398.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.02189, allocations: 339.4 kB / 399.1 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.02325, allocations: 1.37 MB / 400.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.958e-05/0.0233, allocations: 66.38 kB / 400.6 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.54e-05/0.02339, allocations: 96.36 kB / 400.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.02456, allocations: 0.7485 MB / 401.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.02458, allocations: 4 kB / 401.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.446e-05/0.02464, allocations: 35.98 kB / 401.5 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.02465, allocations: 23.94 kB / 401.5 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005018/0.02516, allocations: 295.7 kB / 401.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.02803, allocations: 2.797 MB / 404.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007644/0.0288, allocations: 496.5 kB / 405.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.02913, allocations: 205.5 kB / 405.3 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.02917, allocations: 12.66 kB / 405.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005014/0.02967, allocations: 463.8 kB / 405.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 1.853e-06/0.02967, allocations: 0 / 405.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.001395/0.03107, allocations: 0.8672 MB / 406.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.03113, allocations: 178.9 kB / 406.8 MB, free: 5.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.03274, allocations: 1.643 MB / 408.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/0.03281, allocations: 57.69 kB / 408.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.03326, allocations: 0.667 MB / 409.1 MB, free: 3.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.03345, allocations: 265.8 kB / 409.4 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.03367, allocations: 251.9 kB / 409.6 MB, free: 2.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.03381, allocations: 0.516 MB / 410.2 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.03419, allocations: 169.2 kB / 410.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004095/0.0346, allocations: 0.5956 MB / 410.9 MB, free: 1.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.03519, allocations: 0.6634 MB / 411.6 MB, free: 0.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.0352, allocations: 0 / 411.6 MB, free: 0.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0009041/0.0361, allocations: 0.8192 MB / 412.4 MB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.03613, allocations: 33.7 kB / 412.4 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.03615, allocations: 8 kB / 412.4 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.03636, allocations: 76.23 kB / 412.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/0.03677, allocations: 191.8 kB / 412.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.03814, allocations: 2.298 MB / 415 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.03849, allocations: 115.4 kB / 415.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.03853, allocations: 39.98 kB / 415.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003712/0.03891, allocations: 294.5 kB / 415.4 MB, free: 12.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003942/0.0393, allocations: 0.584 MB / 416 MB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005687/0.03987, allocations: 0.6478 MB / 416.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.03987, allocations: 4 kB / 416.7 MB, free: 11.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.0008674/0.04074, allocations: 0.8082 MB / 417.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.04076, allocations: 41.64 kB / 417.5 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.04077, allocations: 8 kB / 417.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001401/0.04091, allocations: 67.64 kB / 417.6 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/0.04129, allocations: 187.7 kB / 417.8 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.04242, allocations: 2.303 MB / 420.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.04277, allocations: 103.5 kB / 420.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.114e-05/0.04281, allocations: 39.98 kB / 420.2 MB, free: 7.379 MB / 394.7 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.000176/0.04298, allocations: 347.9 kB / 420.6 MB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.04315, allocations: 218.8 kB / 420.8 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.044, allocations: 0.668 MB / 421.4 MB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.044, allocations: 7.922 kB / 421.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.04401, allocations: 0 / 421.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/0.04452, allocations: 392.3 kB / 421.8 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.04463, allocations: 24 kB / 421.9 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.0449, allocations: 55.94 kB / 421.9 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.04502, allocations: 80.52 kB / 422 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009973/0.04601, allocations: 0.8237 MB / 422.8 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001071/0.04709, allocations: 1.19 MB / 424 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002574/0.04734, allocations: 214 kB / 424.2 MB, free: 3.316 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007742/0.04812, allocations: 0.9184 MB / 425.1 MB, free: 2.375 MB / 394.7 MB Notification: Performance of Backend: time 1.1e-07/0.04812, allocations: 4 kB / 425.1 MB, free: 2.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.05037, allocations: 1.648 MB / 426.8 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of SimCode: time 0.003156/0.05352, allocations: 3.538 MB / 430.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of Templates: time 0.139/0.1925, allocations: 20.41 MB / 450.7 MB, free: 99.36 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_R.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.4666525097563863]