Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001447/0.001447, allocations: 188.8 kB / 8.134 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.14/1.14, allocations: 194.2 MB / 202.8 MB, free: 8.773 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001714/0.001714, allocations: 112.7 kB / 247.7 MB, free: 6.238 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.73e-06/5.761e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06899/0.06901, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.2605, allocations: 81.13 MB / 423.2 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.2607, allocations: 84.69 kB / 423.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03003/0.2908, allocations: 12.06 MB / 435.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.577e-05/0.2908, allocations: 12 kB / 435.4 MB, free: 4.07 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001295/0.2921, allocations: 0.8394 MB / 436.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.2922, allocations: 8.031 kB / 436.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.2923, allocations: 79.06 kB / 436.3 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/0.293, allocations: 483.8 kB / 436.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.2931, allocations: 24.19 kB / 436.8 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.2931, allocations: 36 kB / 436.8 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006654/0.2938, allocations: 396.8 kB / 437.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008211/0.2946, allocations: 0.5227 MB / 437.7 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.2947, allocations: 3.938 kB / 437.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.2948, allocations: 3.625 kB / 437.7 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.2948, allocations: 16 kB / 437.7 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.2977, allocations: 2.158 MB / 439.9 MB, free: 164 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005593/0.2983, allocations: 342.8 kB / 440.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.2988, allocations: 244.5 kB / 440.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2988, allocations: 4 kB / 440.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.2992, allocations: 258.5 kB / 440.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.144e-06/0.2992, allocations: 0 / 440.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007008/0.2999, allocations: 386.5 kB / 441.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.3, allocations: 139.6 kB / 441.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.3005, allocations: 344.3 kB / 441.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.3005, allocations: 34.95 kB / 441.6 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.3007, allocations: 255.3 kB / 441.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3008, allocations: 139.3 kB / 442 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.3008, allocations: 7.469 kB / 442 MB, free: 14.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.301, allocations: 359.2 kB / 442.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3012, allocations: 139.4 kB / 442.5 MB, free: 14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003361/0.3016, allocations: 296.9 kB / 442.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.3019, allocations: 159.5 kB / 442.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3019, allocations: 4 kB / 442.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008244/0.3027, allocations: 497.5 kB / 443.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000645/0.3034, allocations: 1.651 MB / 445.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3034, allocations: 4 kB / 445.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002925/0.3037, allocations: 77.81 kB / 445.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.3041, allocations: 95.77 kB / 445.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.3056, allocations: 1.553 MB / 446.8 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.3061, allocations: 87.61 kB / 446.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.3062, allocations: 23.44 kB / 446.9 MB, free: 9.727 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.294e-06/0.3062, allocations: 4.781 kB / 446.9 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007048/0.3069, allocations: 420.1 kB / 447.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3069, allocations: 4 kB / 447.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.3071, allocations: 78.89 kB / 447.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.3075, allocations: 87.02 kB / 447.5 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3089, allocations: 1.557 MB / 449.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.3094, allocations: 59.77 kB / 449.1 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.3094, allocations: 26.36 kB / 449.1 MB, free: 7.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.3096, allocations: 138.8 kB / 449.3 MB, free: 7.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.3097, allocations: 51.34 kB / 449.3 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.3098, allocations: 48.97 kB / 449.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3098, allocations: 4 kB / 449.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3098, allocations: 64 / 449.4 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3098, allocations: 9.016 kB / 449.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3114, allocations: 1.105 MB / 450.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3114, allocations: 0 / 450.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.3117, allocations: 54.56 kB / 450.5 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.3119, allocations: 66.02 kB / 450.6 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.312, allocations: 7.984 kB / 450.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.3133, allocations: 1.536 MB / 452.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3133, allocations: 0 / 452.2 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001027/0.3144, allocations: 0.7086 MB / 452.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.3146, allocations: 169 kB / 453 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.3147, allocations: 4 kB / 453 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.3151, allocations: 39.91 kB / 453.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.3152, allocations: 35.78 kB / 453.1 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.3152, allocations: 15.88 kB / 453.1 MB, free: 4.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002725/0.3155, allocations: 264.3 kB / 453.4 MB, free: 3.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000867/0.3164, allocations: 251 kB / 453.6 MB, free: 3.734 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001768/0.3166, allocations: 129 kB / 453.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3178, allocations: 0.8319 MB / 454.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3178, allocations: 3.688 kB / 454.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003892/0.3182, allocations: 299.9 kB / 454.9 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3186, allocations: 58.7 kB / 454.9 MB, free: 2.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3204, allocations: 0.8226 MB / 455.8 MB, free: 1.902 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006195/0.3211, allocations: 0.9531 MB / 456.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3211, allocations: 0 / 456.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of Templates: time 0.01612/0.3372, allocations: 8.47 MB / 465.2 MB, free: 8.516 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1)