Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.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.0009571/0.0009571, allocations: 79.69 kB / 21.7 MB, free: 2.84 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.0009893/0.0009893, allocations: 161.5 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.9385/0.9385, allocations: 177 MB / 205.2 MB, free: 5.59 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.2308/0.2308, allocations: 34.87 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") translateModel(ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.42e-07/7.42e-07, allocations: 0 / 378.9 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254e-05/1.329e-05, allocations: 2.312 kB / 378.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL): time 0.004867/0.00488, allocations: 5.396 MB / 384.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002891/0.007772, allocations: 2.294 MB / 386.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.008147, allocations: 27.81 kB / 386.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006834/0.008831, allocations: 0.63 MB / 387.2 MB, free: 9.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009295/0.00976, allocations: 0.8086 MB / 388 MB, free: 9.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.01082, allocations: 0.6588 MB / 388.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.01213, allocations: 1.792 MB / 390.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004092/0.01254, allocations: 353 kB / 390.8 MB, free: 6.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.01392, allocations: 1.805 MB / 392.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.0144, allocations: 0.5639 MB / 393.2 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.01454, allocations: 132 kB / 393.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.01476, allocations: 175.9 kB / 393.5 MB, free: 3.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.01504, allocations: 0.5324 MB / 394 MB, free: 3.039 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.01536, allocations: 482.3 kB / 394.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.01648, allocations: 1.385 MB / 395.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.01648, allocations: 0 / 395.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01648, allocations: 0 / 395.9 MB, free: 1.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.0165, allocations: 0 / 395.9 MB, free: 1.176 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002742/0.01924, allocations: 3.187 MB / 399.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.01927, allocations: 8.031 kB / 399.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.01973, allocations: 339.3 kB / 399.4 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.02102, allocations: 1.39 MB / 400.8 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.02107, allocations: 66.38 kB / 400.9 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/0.02117, allocations: 100.4 kB / 401 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009083/0.02208, allocations: 0.7641 MB / 401.7 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.0221, allocations: 0 / 401.7 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/0.02215, allocations: 39.98 kB / 401.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.02217, allocations: 20 kB / 401.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.02268, allocations: 295.7 kB / 402.1 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002976/0.02566, allocations: 2.832 MB / 404.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.02643, allocations: 0.4998 MB / 405.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.02677, allocations: 206.3 kB / 405.6 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.02681, allocations: 16.66 kB / 405.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005005/0.02731, allocations: 469 kB / 406.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 1.944e-06/0.02731, allocations: 0 / 406.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.001353/0.02867, allocations: 0.8931 MB / 407 MB, free: 5.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.02873, allocations: 171.2 kB / 407.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.03, allocations: 1.655 MB / 408.8 MB, free: 3.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.03006, allocations: 57.69 kB / 408.8 MB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.03042, allocations: 0.671 MB / 409.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.03058, allocations: 277.8 kB / 409.8 MB, free: 2.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.03093, allocations: 259.8 kB / 410 MB, free: 2.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.03105, allocations: 0.5199 MB / 410.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.0313, allocations: 165.3 kB / 410.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.03171, allocations: 0.5995 MB / 411.3 MB, free: 1.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.03231, allocations: 0.6719 MB / 412 MB, free: 260 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.03232, allocations: 0 / 412 MB, free: 260 kB / 378.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0009096/0.03323, allocations: 0.8231 MB / 412.8 MB, free: 15.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.03326, allocations: 41.7 kB / 412.9 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.03327, allocations: 8 kB / 412.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001883/0.03345, allocations: 64.42 kB / 412.9 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.03389, allocations: 203.6 kB / 413.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.03506, allocations: 2.24 MB / 415.4 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.03541, allocations: 115.5 kB / 415.5 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.03546, allocations: 36 kB / 415.5 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003772/0.03584, allocations: 302.5 kB / 415.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003956/0.03623, allocations: 0.5879 MB / 416.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007101/0.03694, allocations: 0.6642 MB / 417.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.03695, allocations: 0 / 417.1 MB, free: 10.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.0008752/0.03782, allocations: 0.8236 MB / 417.9 MB, free: 9.855 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.03784, allocations: 37.86 kB / 417.9 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.03785, allocations: 8.188 kB / 417.9 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.03798, allocations: 71.58 kB / 418 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.03838, allocations: 195.7 kB / 418.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.03944, allocations: 2.252 MB / 420.4 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.03979, allocations: 107.5 kB / 420.5 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.03983, allocations: 40 kB / 420.6 MB, free: 7.02 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 (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.0001768/0.04001, allocations: 355.8 kB / 420.9 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.04018, allocations: 230.8 kB / 421.2 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.04106, allocations: 0.6762 MB / 421.8 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.04107, allocations: 7.922 kB / 421.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.04107, allocations: 0 / 421.8 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.04147, allocations: 388.3 kB / 422.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.04157, allocations: 35.98 kB / 422.3 MB, free: 5.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.04185, allocations: 55.94 kB / 422.3 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.04198, allocations: 80.86 kB / 422.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001038/0.04301, allocations: 0.8322 MB / 423.2 MB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001219/0.04423, allocations: 1.224 MB / 424.4 MB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002671/0.0445, allocations: 221.5 kB / 424.7 MB, free: 2.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000798/0.0453, allocations: 0.9184 MB / 425.6 MB, free: 1.934 MB / 394.7 MB Notification: Performance of Backend: time 3.01e-07/0.0453, allocations: 0 / 425.6 MB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.04755, allocations: 1.652 MB / 427.2 MB, free: 324 kB / 394.7 MB Notification: Performance of SimCode: time 0.003189/0.05073, allocations: 3.588 MB / 430.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of Templates: time 0.1299/0.1806, allocations: 20.5 MB / 451.3 MB, free: 96.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.339127430226654]