Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.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.001811/0.001811, allocations: 110.8 kB / 21.2 MB, free: 0.6211 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.002162/0.002162, allocations: 223.5 kB / 24.5 MB, free: 3.914 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 7.793 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_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_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_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2098, allocations: 53.35 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL): time 0.00701/0.2168, allocations: 4.926 MB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.2206, allocations: 2.233 MB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003451/0.221, allocations: 31.75 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.222, allocations: 0.6342 MB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.2232, allocations: 0.7897 MB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2244, allocations: 0.6353 MB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.2264, allocations: 1.93 MB / 443.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005998/0.227, allocations: 369 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.2287, allocations: 1.581 MB / 445.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.2295, allocations: 0.6911 MB / 446.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.2298, allocations: 140 kB / 446.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003268/0.2301, allocations: 184 kB / 446.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.2306, allocations: 0.5281 MB / 447 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.2312, allocations: 0.6132 MB / 447.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.2333, allocations: 2.19 MB / 449.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2333, allocations: 0 / 449.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2333, allocations: 0 / 449.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.2333, allocations: 0 / 449.8 MB, free: 5.184 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.005345/0.2387, allocations: 3.092 MB / 452.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2387, allocations: 8.031 kB / 452.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.2395, allocations: 279.4 kB / 453.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.2426, allocations: 1.551 MB / 454.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.2427, allocations: 70 kB / 454.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.2429, allocations: 95.97 kB / 454.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.2449, allocations: 1.097 MB / 456 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.2449, allocations: 3.984 kB / 456 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.383e-05/0.245, allocations: 36 kB / 456.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.245, allocations: 20 kB / 456.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/0.2469, allocations: 0.7884 MB / 456.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.252, allocations: 2.797 MB / 459.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.2542, allocations: 0.8874 MB / 460.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2552, allocations: 418.5 kB / 461 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.2552, allocations: 8.656 kB / 461 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/0.2565, allocations: 0.6705 MB / 461.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.494e-06/0.2565, allocations: 0 / 461.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.003689/0.2602, allocations: 1.449 MB / 463.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.2603, allocations: 179.1 kB / 463.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.2626, allocations: 1.862 MB / 465.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.2627, allocations: 57.69 kB / 465.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.2633, allocations: 0.5973 MB / 465.8 MB, free: 4.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.2635, allocations: 277.8 kB / 466 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.2639, allocations: 246.2 kB / 466.3 MB, free: 4.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.264, allocations: 349.9 kB / 466.6 MB, free: 3.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.2649, allocations: 410.3 kB / 467 MB, free: 3.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.2661, allocations: 0.7305 MB / 467.8 MB, free: 2.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.268, allocations: 0.9984 MB / 468.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.268, allocations: 4 kB / 468.8 MB, free: 1.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002446/0.2704, allocations: 1.243 MB / 470 MB, free: 312 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.2705, allocations: 37.7 kB / 470 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.2705, allocations: 8 kB / 470 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003057/0.2708, allocations: 92.94 kB / 470.1 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000873/0.2716, allocations: 195.7 kB / 470.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/0.2737, allocations: 1.853 MB / 472.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000833/0.2745, allocations: 127.4 kB / 472.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.071e-05/0.2746, allocations: 36 kB / 472.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001442/0.276, allocations: 0.8861 MB / 473.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/0.2771, allocations: 0.7149 MB / 473.9 MB, free: 12.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001801/0.2789, allocations: 0.971 MB / 474.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.2789, allocations: 0 / 474.9 MB, free: 11.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization_lambda0): time 0.002371/0.2813, allocations: 1.219 MB / 476.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2813, allocations: 33.7 kB / 476.2 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2813, allocations: 8 kB / 476.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.2816, allocations: 92.88 kB / 476.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.2824, allocations: 195.9 kB / 476.5 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.2844, allocations: 1.86 MB / 478.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000808/0.2852, allocations: 123.5 kB / 478.4 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.2853, allocations: 39.98 kB / 478.5 MB, free: 7.336 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.0003059/0.2856, allocations: 270.3 kB / 478.7 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.2858, allocations: 194.7 kB / 478.9 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.2883, allocations: 1.126 MB / 480.1 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2883, allocations: 3.984 kB / 480.1 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2883, allocations: 0 / 480.1 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008898/0.2892, allocations: 440.2 kB / 480.5 MB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.2894, allocations: 27.98 kB / 480.5 MB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.2901, allocations: 79.91 kB / 480.6 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.2903, allocations: 80.84 kB / 480.7 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003043/0.2933, allocations: 1.239 MB / 481.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003344/0.2967, allocations: 1.802 MB / 483.7 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009264/0.2976, allocations: 435.7 kB / 484.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00181/0.2994, allocations: 1.297 MB / 485.4 MB, free: 296 kB / 382.1 MB Notification: Performance of Backend: time 2.81e-07/0.2994, allocations: 192 / 485.4 MB, free: 296 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004989/0.3044, allocations: 1.948 MB / 487.4 MB, free: 14.46 MB / 398.1 MB Notification: Performance of SimCode: time 0.005276/0.3097, allocations: 3.87 MB / 491.3 MB, free: 10.53 MB / 398.1 MB Notification: Performance of Templates: time 0.03945/0.3491, allocations: 22.03 MB / 0.5013 GB, free: 4.738 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.sim & ./Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACAC.Dimmer_RL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.472413317998871] 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.35818266599380877 0.38060193899999994 0.142988637 Calling exit ...